mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-23 09:57:48 +02:00
fix(ui): reflect target response status in network monitor status dot (#2390)
Co-authored-by: henrygd <hank@henrygd.me>
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user