Skip to content

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

fix(ui): show grey agent version dot for paused systems

henrygd4b4ef0a2fef6
diff --git a/internal/site/src/components/systems-table/systems-table-columns.tsx b/internal/site/src/components/systems-table/systems-table-columns.tsx
index 8f04b0a3b..4f8cbf7ca 100644
--- a/internal/site/src/components/systems-table/systems-table-columns.tsx
+++ b/internal/site/src/components/systems-table/systems-table-columns.tsx
@@ -524,10 +524,11 @@ export function SystemsTableColumns(viewMode: "table" | "grid"): ColumnDef<Syste
return null
}
const system = info.row.original
- const color = {
- "text-green-500": version === globalThis.BESZEL.HUB_VERSION,
- "text-yellow-500": version !== globalThis.BESZEL.HUB_VERSION,
- "text-red-500": system.status !== SystemStatus.Up,
+ let color = "text-red-500"
+ if (system.status === SystemStatus.Up) {
+ color = version === globalThis.BESZEL.HUB_VERSION ? "text-green-500" : "text-yellow-500"
+ } else if (system.status === SystemStatus.Paused) {
+ color = "text-primary/40"
}
return (
<Link