[feat](trx-frontend-http): restore rig selector on map with All as default

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-24 22:15:55 +01:00
parent 4b387457af
commit a32560a9ab
2 changed files with 9 additions and 1 deletions
@@ -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)