Skip to content

Lightweight server monitoring with historical data, docker stats, and alerts.

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

Sven van Ginkel4a4610bbc3d3
diff --git a/internal/site/src/components/network-monitors-table/network-monitors-columns.tsx b/internal/site/src/components/network-monitors-table/network-monitors-columns.tsx
index 921b30f0b..92d25abae 100644
--- a/internal/site/src/components/network-monitors-table/network-monitors-columns.tsx
+++ b/internal/site/src/components/network-monitors-table/network-monitors-columns.tsx
@@ -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">