From fb7bbe5ccc7e20cc1ed9772c6d1d6941e4989229 Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 1 May 2026 19:21:38 +0200 Subject: [PATCH] Fix: UI.modal.open() statt UI.modal() im Outreach-Log, SW by-v586 --- backend/static/js/app.js | 2 +- backend/static/js/pages/admin.js | 4 ++-- backend/static/sw.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 9a377ab..a4b6b3a 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 = '585'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '586'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.2.1'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; diff --git a/backend/static/js/pages/admin.js b/backend/static/js/pages/admin.js index 8c9bca4..4734713 100644 --- a/backend/static/js/pages/admin.js +++ b/backend/static/js/pages/admin.js @@ -2156,7 +2156,7 @@ window.Page_admin = (() => { row.addEventListener('click', () => { const l = log[Number(row.dataset.logIdx)]; if (!l) return; - UI.modal({ + UI.modal.open({ title: _esc(l.subject), body: `
@@ -2168,7 +2168,7 @@ window.Page_admin = (() => { background:var(--c-surface-2);border-radius:var(--radius-md); padding:var(--space-3);max-height:60vh;overflow-y:auto; color:var(--c-text)">${_esc(l.body || '(kein Text gespeichert)')}`, - footer: ``, + footer: ``, }); }); }); diff --git a/backend/static/sw.js b/backend/static/sw.js index 5c7da57..2aa608e 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-v585'; +const CACHE_VERSION = 'by-v586'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache