From 0d5dc574a42e6550bf0e58cc5f60988a970201db Mon Sep 17 00:00:00 2001 From: SaelixCode Date: Sun, 22 Mar 2026 03:21:36 -0400 Subject: [PATCH] fix(dashboard): correct stale Stats reset with inactive field --- frontend/src/components/HomeDashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/HomeDashboard.tsx b/frontend/src/components/HomeDashboard.tsx index c1901efe..fc1d4927 100644 --- a/frontend/src/components/HomeDashboard.tsx +++ b/frontend/src/components/HomeDashboard.tsx @@ -73,7 +73,7 @@ export default function HomeDashboard() { // Fetch container stats - re-runs when active node changes so stale data is cleared immediately useEffect(() => { - setStats({ active: 0, exited: 0, total: 0, inactive: 0 }); + setStats({ active: 0, managed: 0, unmanaged: 0, exited: 0, total: 0 }); const fetchStats = async () => { try { const res = await apiFetch('/stats');