From 4e0e0fc79fe79a3744a666851e092dcc9e260a96 Mon Sep 17 00:00:00 2001 From: Logan Date: Sun, 7 Jun 2026 03:34:15 -0400 Subject: [PATCH] =?UTF-8?q?Backend=20(incident=5Fcorrelator.py):=20-=20Cre?= =?UTF-8?q?ate=20path=20(line=20~1274):=20title=20only=20uses=20"at=20{loc?= =?UTF-8?q?ation}"=20when=20location=5Fcoords=20is=20also=20set=20-=20Upda?= =?UTF-8?q?te=20path=20(line=20~1226):=20same=20guard=20=E2=80=94=20best?= =?UTF-8?q?=5Fcoords=20must=20be=20truthy=20alongside=20best=5Flocation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Frontend (MapView.tsx): - Desktop sidebar: cards with location_coords → + ); + } return ( -
- - - View details → - -
+ {cardBody} + ); })} @@ -580,22 +588,39 @@ export default function MapView({ nodes, activeCalls, incidents = [], lastUpdate
{incidents.map((inc) => { const color = INCIDENT_COLORS[inc.type ?? "other"] ?? INCIDENT_COLORS.other; - return ( - + + ); + if (inc.location_coords) { + return ( + + ); + } + return ( + + {label} + ); })}