From c542cd4d7dec2ac94d5e37950c79f1c54aa0dbb6 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 23 Oct 2025 11:00:36 +0200 Subject: [PATCH] Update node-metrics-charts.tsx --- AppImage/components/node-metrics-charts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppImage/components/node-metrics-charts.tsx b/AppImage/components/node-metrics-charts.tsx index 50ef507..8b334a4 100644 --- a/AppImage/components/node-metrics-charts.tsx +++ b/AppImage/components/node-metrics-charts.tsx @@ -290,7 +290,7 @@ export function NodeMetricsCharts() { className="text-foreground" tick={{ fill: "currentColor", fontSize: 12 }} label={{ value: "Load", angle: 90, position: "insideRight", fill: "currentColor" }} - domain={[0, "dataMax"]} + domain={[0, (dataMax: number) => Math.max(dataMax, 1)]} />