From c014f5cdc2099444c0911479e474c76ef4e19c8b Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Fri, 13 Mar 2026 07:24:09 +0100 Subject: [PATCH] [fix](trx-frontend-http): refresh map sources on live APRS Rebuild the visible-source chips when live APRS, AIS, or VDES markers are first added so the map filter list updates without a page refresh.\n\nCo-authored-by: OpenAI Codex Signed-off-by: Stan Grams --- .../trx-frontend/trx-frontend-http/assets/web/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js index 5574c36..a9922f9 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/app.js @@ -5323,6 +5323,7 @@ window.aprsMapAddStation = function(call, lat, lon, info, symbolTable, symbolCod stationMarkers.set(call, entry); if (aprsMap) { _aprsAddMarkerToMap(call, entry); + rebuildMapLocatorFilters(); applyMapFilter(); } } @@ -5462,6 +5463,7 @@ window.aisMapAddVessel = function(msg) { trackPoints: [nextPoint], msg, }); + rebuildMapLocatorFilters(); applyMapFilter(); }; @@ -5496,6 +5498,7 @@ window.vdesMapAddPoint = function(msg) { marker._vdesKey = key; entry.marker = marker; mapMarkers.add(marker); + rebuildMapLocatorFilters(); applyMapFilter(); };