From fbae39bd9fb0971c10f75bac9ea6c4bf181ad164 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Fri, 29 Aug 2025 12:07:09 +0000 Subject: [PATCH] fix: properly convert CPU from decimal to percentage in NodeSummaryTable --- frontend-modern/src/components/shared/NodeSummaryTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-modern/src/components/shared/NodeSummaryTable.tsx b/frontend-modern/src/components/shared/NodeSummaryTable.tsx index 3dfbb4c66..2b48f3b9c 100644 --- a/frontend-modern/src/components/shared/NodeSummaryTable.tsx +++ b/frontend-modern/src/components/shared/NodeSummaryTable.tsx @@ -120,7 +120,7 @@ export const NodeSummaryTable: Component = (props) => { : (pbs!.status === 'healthy' || pbs!.status === 'online'); const cpuPercent = () => isPVE - ? Math.round(node!.cpu || 0) + ? Math.round((node!.cpu || 0) * 100) : Math.round(pbs!.cpu || 0); const memPercent = () => isPVE