Fix: UI.modal.open() statt UI.modal() im Outreach-Log, SW by-v586
This commit is contained in:
parent
775cda9a67
commit
fb7bbe5ccc
3 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
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 APP_VERSION = '1.2.1'; // ← semantische Version, wird bei make release gesetzt
|
||||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2156,7 +2156,7 @@ window.Page_admin = (() => {
|
||||||
row.addEventListener('click', () => {
|
row.addEventListener('click', () => {
|
||||||
const l = log[Number(row.dataset.logIdx)];
|
const l = log[Number(row.dataset.logIdx)];
|
||||||
if (!l) return;
|
if (!l) return;
|
||||||
UI.modal({
|
UI.modal.open({
|
||||||
title: _esc(l.subject),
|
title: _esc(l.subject),
|
||||||
body: `
|
body: `
|
||||||
<div style="margin-bottom:var(--space-3);font-size:var(--text-sm);color:var(--c-text-muted)">
|
<div style="margin-bottom:var(--space-3);font-size:var(--text-sm);color:var(--c-text-muted)">
|
||||||
|
|
@ -2168,7 +2168,7 @@ window.Page_admin = (() => {
|
||||||
background:var(--c-surface-2);border-radius:var(--radius-md);
|
background:var(--c-surface-2);border-radius:var(--radius-md);
|
||||||
padding:var(--space-3);max-height:60vh;overflow-y:auto;
|
padding:var(--space-3);max-height:60vh;overflow-y:auto;
|
||||||
color:var(--c-text)">${_esc(l.body || '(kein Text gespeichert)')}</pre>`,
|
color:var(--c-text)">${_esc(l.body || '(kein Text gespeichert)')}</pre>`,
|
||||||
footer: `<button class="btn btn-secondary" onclick="UI.closeModal()">Schließen</button>`,
|
footer: `<button class="btn btn-secondary" onclick="UI.modal.close()">Schließen</button>`,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v585';
|
const CACHE_VERSION = 'by-v586';
|
||||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||||
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue