From 2e01d0d9f063aaef8d389d4045c0e13c1143df07 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Fri, 29 Aug 2025 06:48:04 +0000 Subject: [PATCH] Revert "Revert "fix: add missing Node column header in flat list view"" This reverts commit 1e068742e7568d098fd48c372208cf6041877b73. --- 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) */}