From a32560a9abeb152fbd11aa5da0ac5566992a80ff Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Tue, 24 Mar 2026 22:15:55 +0100 Subject: [PATCH] [feat](trx-frontend-http): restore rig selector on map with All as default Co-Authored-By: Claude Opus 4.6 Signed-off-by: Stan Grams --- .../trx-frontend/trx-frontend-http/assets/web/app.js | 4 +++- .../trx-frontend/trx-frontend-http/assets/web/index.html | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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 105edfd..318389a 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 @@ -6502,7 +6502,9 @@ function applyMapFilter() { const sourceVisible = noneSelected ? DEFAULT_MAP_SOURCE_FILTER[type] !== undefined ? DEFAULT_MAP_SOURCE_FILTER[type] : true : !!mapFilter[type]; - const rigVisible = true; + const rigVisible = !mapRigFilter + || marker.__trxType === "bookmark" + || (marker.__trxRigIds instanceof Set && marker.__trxRigIds.has(mapRigFilter)); const visible = marker.__trxHistoryVisible !== false && markerPassesSearchFilter(marker) && markerPassesLocatorFilters(marker) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html index bb9765b..8f6f489 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html +++ b/src/trx-client/trx-frontend/trx-frontend-http/assets/web/index.html @@ -773,6 +773,12 @@ Show
+
+ Rig + +
Search