fix(stacks): conditionally hide node and namespace stacks [EE-6949] (#11527)

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali
2024-04-19 17:33:22 +12:00
committed by GitHub
parent 7e9dd01265
commit 3ccbd40232
5 changed files with 74 additions and 49 deletions
@@ -24,7 +24,6 @@ export function NodeApplicationsDatatable({
onRefresh: () => void;
isLoading: boolean;
}) {
const columns = useColumns(true);
const tableState = useTableStateWithStorage<TableSettings>(
'kube-node-apps',
'Name',
@@ -34,6 +33,8 @@ export function NodeApplicationsDatatable({
);
useRepeater(tableState.autoRefreshRate, onRefresh);
const columns = useColumns();
return (
<Datatable
dataset={dataset}