Make rabbit happy

This commit is contained in:
Arkadiusz Sygulski
2026-01-16 23:14:29 +01:00
parent 7813d2e7dd
commit fe88ef4d2d
3 changed files with 20 additions and 2 deletions
@@ -906,7 +906,8 @@ function updateTransportTimings(result) {
hpaTilesEl.textContent = "";
}
const totalTime = result.debug?.timings?.closestShoreByWater || 0;
const totalTime =
result.debug?.timings?.["SpatialQuery.closestShoreByWater"] ?? 0;
if (totalTime > 0) {
hpaTimeEl.textContent = `${totalTime.toFixed(2)}ms`;
hpaTimeEl.classList.remove("faded");