diff --git a/VERSION b/VERSION index 50e2ad9..a2998a8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1129 \ No newline at end of file +1120 \ No newline at end of file diff --git a/backend/main.py b/backend/main.py index a582355..aac642e 100644 --- a/backend/main.py +++ b/backend/main.py @@ -1772,10 +1772,6 @@ border-radius:8px;font-size:16px;cursor:pointer} + - - - - - + + + + +
@@ -617,11 +617,11 @@ - - - - - + + + + + @@ -631,7 +631,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index b162e31..bcdacdd 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 = '1129'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1120'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator) window.APP_VERSION = APP_VERSION; diff --git a/backend/static/js/pages/wetter.js b/backend/static/js/pages/wetter.js index eea9c5f..e3803fe 100644 --- a/backend/static/js/pages/wetter.js +++ b/backend/static/js/pages/wetter.js @@ -58,7 +58,6 @@ window.Page_wetter = (() => { let _container = null; let _appState = null; let _data = null; - let _current = null; let _selDay = 0; let _loading = false; let _recordsLoaded = false; @@ -240,13 +239,8 @@ window.Page_wetter = (() => { if (_loading) return; _loading = true; try { - const [forecast, current] = await Promise.all([ - API.weather.forecast(lat, lon), - API.weather.get(lat, lon).catch(() => null), // Ist-Temperatur, best-effort - ]); - _data = forecast; - _current = current; - _selDay = 0; + _data = await API.weather.forecast(lat, lon); + _selDay = 0; _renderWeather(); } catch { const body = _container.querySelector('#wttr-body'); @@ -281,8 +275,6 @@ window.Page_wetter = (() => { if (!days.length) return; body.innerHTML = ` - ${_nowBanner()} -