From 3949dfdd52cfe47a3da6b54db649e02403d7260e Mon Sep 17 00:00:00 2001 From: rcourtman Date: Thu, 2 Oct 2025 12:39:46 +0000 Subject: [PATCH] Remove memory extras row per design --- .../src/components/Dashboard/GuestRow.tsx | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/frontend-modern/src/components/Dashboard/GuestRow.tsx b/frontend-modern/src/components/Dashboard/GuestRow.tsx index 39048818e..2e9baa69e 100644 --- a/frontend-modern/src/components/Dashboard/GuestRow.tsx +++ b/frontend-modern/src/components/Dashboard/GuestRow.tsx @@ -77,24 +77,6 @@ export function GuestRow(props: GuestRowProps) { const total = props.guest.memory.total ?? 0; return `${formatBytes(used)}/${formatBytes(total)}`; }); - - const memoryExtraInfo = createMemo(() => { - if (!props.guest.memory) return [] as string[]; - const extras: string[] = []; - const total = props.guest.memory.total ?? 0; - if (props.guest.memory.balloon && props.guest.memory.balloon > 0 && props.guest.memory.balloon !== total) { - extras.push(`balloon ${formatBytes(props.guest.memory.balloon)}`); - } - if ( - props.guest.memory.swapUsed && - props.guest.memory.swapUsed > 0 && - props.guest.memory.swapTotal && - props.guest.memory.swapTotal > 0 - ) { - extras.push(`swap ${formatBytes(props.guest.memory.swapUsed)}/${formatBytes(props.guest.memory.swapTotal)}`); - } - return extras; - }); const diskPercent = createMemo(() => { if (!props.guest.disk || props.guest.disk.total === 0) return 0; // Check if usage is -1 (unknown/no guest agent) @@ -276,11 +258,6 @@ export function GuestRow(props: GuestRowProps) { sublabel={memoryUsageLabel()} type="memory" /> - 0}> -
- {(info) => {info}} -
-
{/* Disk */}