Fix: Worlds.refresh() nach Profil-Speichern aufrufen
Nach Object.assign(_appState.user, updated) wurde Worlds.refresh() nie aufgerufen → JETZT-Welt zeigte alten Render ohne Geburtstags-Greeting. SW by-v1030, APP_VER 1030
This commit is contained in:
parent
b54d9fda99
commit
a50158d522
4 changed files with 4 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Router, State-Management, Navigation, Initialisierung.
|
||||
============================================================ */
|
||||
|
||||
const APP_VER = '1029'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VER = '1030'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt
|
||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
||||
|
|
|
|||
|
|
@ -1223,6 +1223,7 @@ window.Page_settings = (() => {
|
|||
geburtstag: fd.geburtstag || '',
|
||||
});
|
||||
Object.assign(_appState.user, updated);
|
||||
window.Worlds?.refresh?.(_appState); // Welten neu rendern (z.B. Geburtstags-Greeting)
|
||||
UI.modal.close?.();
|
||||
UI.toast.success('Profil gespeichert.');
|
||||
_render();
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Offline-Cache + Push Notifications + Tile-Cache
|
||||
============================================================ */
|
||||
|
||||
const CACHE_VERSION = 'by-v1029';
|
||||
const CACHE_VERSION = 'by-v1030';
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue