From 0885aa70450c080116461847aa6d72e57a9f4f31 Mon Sep 17 00:00:00 2001 From: ztimson Date: Mon, 6 Apr 2026 21:44:53 -0400 Subject: [PATCH] GPS ui fix --- client/public/notification-bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/public/notification-bar.js b/client/public/notification-bar.js index d775ef1..be06085 100644 --- a/client/public/notification-bar.js +++ b/client/public/notification-bar.js @@ -112,7 +112,7 @@ class DashboardHeader extends HTMLElement { if (gpsInfo && gpsDetail) { if (hasValidFix) { gpsInfo.textContent = `${gps.latitude.toFixed(4)}, ${gps.longitude.toFixed(4)}`; - gpsDetail.textContent = `Alt: ${gps.altitude != null ? Math.round(gps.altitude) : '?'}m • Speed: ${ gps.speed != null ? Math.round(gps.speed * 10) / 10 : '?'} m/s
Acc: ${gps.accuracy ? Math.round(gps.accuracy) : 'None'}m • ${gps.satellites ?? '?'} Sats`; + gpsDetail.innerHTML = `Alt: ${gps.altitude != null ? Math.round(gps.altitude) : '?'}m • Speed: ${ gps.speed != null ? Math.round(gps.speed * 10) / 10 : '?'} m/s
Acc: ${gps.accuracy ? Math.round(gps.accuracy) : 'None'}m • ${gps.satellites ?? '?'} Sats`; } else { gpsInfo.textContent = gps.satellites > 0 ? 'Acquiring Fix...' : 'No Fix'; gpsDetail.textContent = `${gps.satellites} satellites`;