fix(ui): reflect target response status in network monitor status dot (#2390)

Co-authored-by: henrygd <hank@henrygd.me>
This commit is contained in:
Sven van Ginkel
2026-09-23 00:12:19 +02:00
committed by GitHub
parent 1aaabfc255
commit 4a4610bbc3

View File

@@ -146,6 +146,8 @@ export function getMonitorColumns(
color = "bg-primary/40"
} else if (status === SystemStatus.Down || status === SystemStatus.Pending) {
color = "bg-yellow-500"
} else if (monitor.updated && !monitor.res) {
color = "bg-red-500"
}
return (
<div className="ms-1.5 max-w-64 flex gap-2 items-center tabular-nums">