From 34ca1d0baf6cf3494639491a7edeb1644baea357 Mon Sep 17 00:00:00 2001 From: Logan Date: Mon, 25 May 2026 15:28:35 -0400 Subject: [PATCH] Map fixes --- drb-frontend/components/MapView.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drb-frontend/components/MapView.tsx b/drb-frontend/components/MapView.tsx index 69d2881..e266d32 100644 --- a/drb-frontend/components/MapView.tsx +++ b/drb-frontend/components/MapView.tsx @@ -31,7 +31,8 @@ const INCIDENT_COLORS: Record = { }; function statusColor(status: string): string { - if (status === "online" || status === "recording") return "#4ade80"; + if (status === "online") return "#4ade80"; + if (status === "recording") return "#fb923c"; if (status === "unconfigured") return "#818cf8"; return "#6b7280"; } @@ -472,7 +473,7 @@ export default function MapView({ nodes, activeCalls, incidents = [], lastUpdate )} {/* ── Map action buttons — top-left, below zoom controls ──────────────── */} -
+
{mapInstance && allPositions.length > 0 && (