From 3d910cded87c0b03454526335bbb847780f032e7 Mon Sep 17 00:00:00 2001 From: anoracleofra-code Date: Fri, 13 Mar 2026 14:27:31 -0600 Subject: [PATCH] Fix POTUS tracker map and data fetch failing due to using array index instead of icao24 code Former-commit-id: 418318b29816288d1846889d9b9e08f13ae42387 --- frontend/src/components/WorldviewLeftPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/WorldviewLeftPanel.tsx b/frontend/src/components/WorldviewLeftPanel.tsx index 8183784..b9d4bfd 100644 --- a/frontend/src/components/WorldviewLeftPanel.tsx +++ b/frontend/src/components/WorldviewLeftPanel.tsx @@ -268,7 +268,7 @@ const WorldviewLeftPanel = React.memo(function WorldviewLeftPanel({ data, active onFlyTo(pf.flight.lat, pf.flight.lng); } if (onEntityClick) { - onEntityClick({ type: 'tracked_flight', id: pf.index }); + onEntityClick({ type: 'tracked_flight', id: pf.flight.icao24 }); } }} >