[fix](trx-frontend-http): show all decodes on map regardless of selected rig
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -6502,9 +6502,7 @@ function applyMapFilter() {
|
|||||||
const sourceVisible = noneSelected
|
const sourceVisible = noneSelected
|
||||||
? DEFAULT_MAP_SOURCE_FILTER[type] !== undefined ? DEFAULT_MAP_SOURCE_FILTER[type] : true
|
? DEFAULT_MAP_SOURCE_FILTER[type] !== undefined ? DEFAULT_MAP_SOURCE_FILTER[type] : true
|
||||||
: !!mapFilter[type];
|
: !!mapFilter[type];
|
||||||
const rigVisible = !mapRigFilter
|
const rigVisible = true;
|
||||||
|| marker.__trxType === "bookmark"
|
|
||||||
|| (marker.__trxRigIds instanceof Set && marker.__trxRigIds.has(mapRigFilter));
|
|
||||||
const visible = marker.__trxHistoryVisible !== false
|
const visible = marker.__trxHistoryVisible !== false
|
||||||
&& markerPassesSearchFilter(marker)
|
&& markerPassesSearchFilter(marker)
|
||||||
&& markerPassesLocatorFilters(marker)
|
&& markerPassesLocatorFilters(marker)
|
||||||
|
|||||||
@@ -773,12 +773,6 @@
|
|||||||
<span class="map-locator-filter-label" id="map-locator-choice-label">Show</span>
|
<span class="map-locator-filter-label" id="map-locator-choice-label">Show</span>
|
||||||
<div id="map-locator-choice-filter" class="map-locator-chip-row"></div>
|
<div id="map-locator-choice-filter" class="map-locator-chip-row"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="map-locator-filter-group">
|
|
||||||
<span class="map-locator-filter-label">Rig</span>
|
|
||||||
<select id="map-rig-filter" class="map-history-select" aria-label="Filter by rig source">
|
|
||||||
<option value="">All</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="map-locator-filter-group">
|
<div class="map-locator-filter-group">
|
||||||
<span class="map-locator-filter-label">Search</span>
|
<span class="map-locator-filter-label">Search</span>
|
||||||
<input type="text" id="map-search-filter" class="map-search-input" placeholder="Callsign, MMSI, locator, message..." />
|
<input type="text" id="map-search-filter" class="map-search-input" placeholder="Callsign, MMSI, locator, message..." />
|
||||||
|
|||||||
Reference in New Issue
Block a user