fix undefined values

This commit is contained in:
csehviktor
2025-07-10 21:05:02 +02:00
parent ef420a78af
commit 65a5d28882
2 changed files with 2 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ export function AgentPage() {
title: "CPU USAGE",
value: formatPercentage(cpuUsage),
status: getMetricStatus(cpuUsage),
subtitle: `${metrics?.cpu.threads} threads`,
subtitle: `${metrics?.cpu.threads ?? 0} threads`,
}}
>
<DonutChart