From 0b04612d6ce46c0e26512d642884161b4bd8c375 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 4 Feb 2022 11:16:58 +0100 Subject: [PATCH] WIP2 --- src/domain/session/room/RoomViewModel.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/domain/session/room/RoomViewModel.js b/src/domain/session/room/RoomViewModel.js index ace933fb..c81c47ef 100644 --- a/src/domain/session/room/RoomViewModel.js +++ b/src/domain/session/room/RoomViewModel.js @@ -97,9 +97,8 @@ export class RoomViewModel extends ViewModel { // room doesn't tell us yet which fields changed, // so emit all fields originating from summary _onRoomChange() { - if (this._room.isArchived) { - this._composerVM.emitChange(); - } + // propagate the update to the child view models so it's bindings can update based on room changes + this._composerVM.emitChange(); this.emitChange(); }