mirror of https://github.com/portainer/portainer
fix(waiting-room): add icon in list title EE-6687 (#11092)
parent
06ef12d0ff
commit
b4e829e8c6
|
@ -1,3 +1,5 @@
|
||||||
|
import { Box } from 'lucide-react';
|
||||||
|
|
||||||
import { Datatable as GenericDatatable } from '@@/datatables';
|
import { Datatable as GenericDatatable } from '@@/datatables';
|
||||||
import { createPersistedStore } from '@@/datatables/types';
|
import { createPersistedStore } from '@@/datatables/types';
|
||||||
import { useTableState } from '@@/datatables/useTableState';
|
import { useTableState } from '@@/datatables/useTableState';
|
||||||
|
@ -33,6 +35,7 @@ export function Datatable() {
|
||||||
columns={columns}
|
columns={columns}
|
||||||
dataset={environments}
|
dataset={environments}
|
||||||
title="Edge Devices Waiting Room"
|
title="Edge Devices Waiting Room"
|
||||||
|
titleIcon={Box}
|
||||||
emptyContentLabel="No Edge Devices found"
|
emptyContentLabel="No Edge Devices found"
|
||||||
renderTableActions={(selectedRows) => (
|
renderTableActions={(selectedRows) => (
|
||||||
<TableActions selectedRows={selectedRows} />
|
<TableActions selectedRows={selectedRows} />
|
||||||
|
|
Loading…
Reference in New Issue