|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
import { Table } from '@tanstack/react-table';
|
|
|
|
|
|
|
|
|
|
import { Authorized } from '@/react/hooks/useUser';
|
|
|
|
|
import { isBE } from '@/react/portainer/feature-flags/feature-flags.service';
|
|
|
|
|
|
|
|
|
|
import { ColumnVisibilityMenu } from '@@/datatables/ColumnVisibilityMenu';
|
|
|
|
|
import { TableSettingsMenu } from '@@/datatables';
|
|
|
|
@ -35,7 +34,6 @@ export function TableSettingsMenus({
|
|
|
|
|
value={tableState.hiddenColumns}
|
|
|
|
|
/>
|
|
|
|
|
<TableSettingsMenu>
|
|
|
|
|
{isBE && (
|
|
|
|
|
<Authorized authorizations="EndpointResourcesAccess">
|
|
|
|
|
<Checkbox
|
|
|
|
|
id="setting_all_orphaned_stacks"
|
|
|
|
@ -50,7 +48,7 @@ export function TableSettingsMenus({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</Authorized>
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
<TableSettingsMenuAutoRefresh
|
|
|
|
|
value={tableState.autoRefreshRate}
|
|
|
|
|
onChange={(value) => tableState.setAutoRefreshRate(value)}
|
|
|
|
|