import { LayoutGrid } from 'lucide-react'; import { Datatable } from '@@/datatables'; import { useTableState } from '@@/datatables/useTableState'; import { createPersistedStore } from '@@/datatables/types'; import { useEdgeGroups } from '../queries/useEdgeGroups'; import { columns } from './columns'; import { TableActions } from './TableActions'; const tableKey = 'edge-groups'; const settingsStore = createPersistedStore(tableKey); export function EdgeGroupsDatatable() { const tableState = useTableState(settingsStore, tableKey); const edgeGroupsQuery = useEdgeGroups(); return ( ( )} isRowSelectable={({ original: item }) => !(item.HasEdgeStack || item.HasEdgeJob || item.HasEdgeConfig) } /> ); }