From 437e4f9528fa0d329f02398a8ef3ffb17b6345fb Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Fri, 29 Aug 2025 06:45:17 +0000 Subject: [PATCH] fix: add missing Node column header in flat list view addresses #370 - the table headers were missing the Node column when in flat/list view mode, causing all columns after VMID to be misaligned by one position --- frontend-modern/src/components/Dashboard/Dashboard.tsx | 8 ++++++++ frontend-modern/src/components/Dashboard/GuestRow.tsx | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend-modern/src/components/Dashboard/Dashboard.tsx b/frontend-modern/src/components/Dashboard/Dashboard.tsx index b3d45665c..3a3919c13 100644 --- a/frontend-modern/src/components/Dashboard/Dashboard.tsx +++ b/frontend-modern/src/components/Dashboard/Dashboard.tsx @@ -694,6 +694,14 @@ export function Dashboard(props: DashboardProps) { > VMID {sortKey() === 'vmid' && (sortDirection() === 'asc' ? '▲' : '▼')} + + handleSort('node')} + > + Node {sortKey() === 'node' && (sortDirection() === 'asc' ? '▲' : '▼')} + + handleSort('uptime')} diff --git a/frontend-modern/src/components/Dashboard/GuestRow.tsx b/frontend-modern/src/components/Dashboard/GuestRow.tsx index 815797e4f..2d92565fa 100644 --- a/frontend-modern/src/components/Dashboard/GuestRow.tsx +++ b/frontend-modern/src/components/Dashboard/GuestRow.tsx @@ -155,7 +155,6 @@ export function GuestRow(props: GuestRowProps) { {props.guest.vmid} - {/* Node (optional) */}