fix: properly convert CPU from decimal to percentage in NodeSummaryTable

This commit is contained in:
Pulse Monitor
2025-08-29 12:07:09 +00:00
parent a705c47bd1
commit fbae39bd9f
@@ -120,7 +120,7 @@ export const NodeSummaryTable: Component<NodeSummaryTableProps> = (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