mirror of
https://github.com/MrTalon63/NeoMap.git
synced 2026-01-10 19:39:16 +01:00
Change HTML JS to support new API
Some checks are pending
Docker Image CI / docker-build (push) Waiting to run
Some checks are pending
Docker Image CI / docker-build (push) Waiting to run
This commit is contained in:
parent
908b0953bb
commit
067594e669
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@
|
|||
currentMarkers.forEach((marker) => map.removeLayer(marker));
|
||||
currentMarkers = [];
|
||||
|
||||
hexes.forEach((hex) => {
|
||||
hexes.data.forEach((hex) => {
|
||||
const isTimeValid = timeFilter === "any" || Date.now() / 1000 - hex.last_update < timeFilter;
|
||||
const hasAllSignals = selectedSignals.every((signal) => hex[signal] === 1);
|
||||
const isSignalValid = selectedSignals.length === 0 || hasAllSignals;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue