immediately apply changes to chat info

This commit is contained in:
marlon-erler
2026-09-26 15:19:05 +02:00
parent 2835510992
commit 64e32a99aa
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -85,10 +85,16 @@ export default class SettingsPageViewModel extends Context {
preloadData = (): void => {
this.name.value =
this.chatViewModel.chatModel.info.name;
this.color.value = this.chatViewModel.chatModel.color;
};
updateData = (): void => {
this.preloadData();
this.nameInput.value = this.name.value;
this.chatViewModel.resetColor();
}
loadData = (): void => {
this.nameInput.value = this.name.value;