Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix(storage): add toggleable flag to column definitions
rcourtmanbeb33883b8fe
diff --git a/frontend-modern/src/components/Storage/Storage.tsx b/frontend-modern/src/components/Storage/Storage.tsxindex 1d591816aa..963e7b009c 100644--- a/frontend-modern/src/components/Storage/Storage.tsx+++ b/frontend-modern/src/components/Storage/Storage.tsx@@ -65,18 +65,18 @@ const Storage: Component = () => {// Column definitions for storage tableconst STORAGE_COLUMNS: ColumnDef[] = [- { id: 'type', label: 'Type', priority: 3 },- { id: 'content', label: 'Content', priority: 4 },- { id: 'status', label: 'Status', priority: 2 },- { id: 'shared', label: 'Shared', priority: 5, hiddenByDefault: true },- { id: 'free', label: 'Free', priority: 4 },- { id: 'total', label: 'Total', priority: 3 },+ { id: 'type', label: 'Type', priority: 3, toggleable: true },+ { id: 'content', label: 'Content', priority: 4, toggleable: true },+ { id: 'status', label: 'Status', priority: 2, toggleable: true },+ { id: 'shared', label: 'Shared', priority: 5, toggleable: true },+ { id: 'free', label: 'Free', priority: 4, toggleable: true },+ { id: 'total', label: 'Total', priority: 3, toggleable: true },];// Column visibility managementconst columnVisibility = useColumnVisibility(- STORAGE_COLUMNS,- STORAGE_KEYS.STORAGE_HIDDEN_COLUMNS+ STORAGE_KEYS.STORAGE_HIDDEN_COLUMNS,+ STORAGE_COLUMNS);const isColumnVisible = (id: string) => !columnVisibility.isHiddenByUser(id);