diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 63e8a57..e423846 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '310'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '311'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const App = (() => { diff --git a/backend/static/js/pages/map.js b/backend/static/js/pages/map.js index af09172..d627bc3 100644 --- a/backend/static/js/pages/map.js +++ b/backend/static/js/pages/map.js @@ -1526,10 +1526,11 @@ window.Page_map = (() => { const w = await API.weather.get(lat, lon); const temp = w.temp_c != null ? `${Math.round(w.temp_c)}°` : '–'; const icon = ``; - let zecken = w.zecken_warnung + const regen = w.precip_prob != null ? ` · 💧 ${w.precip_prob}%` : ''; + const zecken = w.zecken_warnung ? ` · 🦟 Zecken` : ''; - info.innerHTML = `${icon} ${temp} ${w.desc}${zecken}`; + info.innerHTML = `${icon} ${temp} ${w.desc}${regen}${zecken}`; info.classList.remove('map-weather-chip--hidden'); sep.classList.remove('map-weather-chip--hidden'); } catch { /* still */ } diff --git a/backend/static/sw.js b/backend/static/sw.js index b7d4c54..707f5c3 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,7 +3,7 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v322'; +const CACHE_VERSION = 'by-v323'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten