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
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue