fix(ui): показывать неизвестный статус карты отдельно

This commit is contained in:
Denozordec committed 2026-10-01 01:39:53 +07:00
1 parent 1215cbe8ae
commit 329d6b82f7
10 files changed
+44 -12

No files matched your search

+2 -1
View File
@@ -15,6 +15,7 @@ const ZOOM_MIN = 0.2
const ZOOM_MAX = 6
const STATUS_STYLE = {
unknown: { fill: "var(--muted)", stroke: "var(--muted-foreground)", glow: "transparent" },
online: { fill: "#0f2d1f", stroke: "#4ade80", glow: "rgba(74,222,128,0.15)" },
degraded: { fill: "#2d1e06", stroke: "#fbbf24", glow: "rgba(251,191,36,0.15)" },
offline: { fill: "#2d0f0f", stroke: "#f87171", glow: "transparent" },
@@ -126,7 +127,7 @@ function ServerNode({
name: string
site: string
country: string
status: "online" | "offline" | "degraded"
status: "online" | "offline" | "degraded" | "unknown"
selected: boolean
onClick: () => void
}) {