mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-22 10:11:39 +01:00
vm may not have created when this is called
This commit is contained in:
parent
664038b946
commit
92ae3a3236
@ -128,7 +128,7 @@ export class RoomViewModel extends ViewModel {
|
||||
// so emit all fields originating from summary
|
||||
_onRoomChange() {
|
||||
// propagate the update to the child view models so it's bindings can update based on room changes
|
||||
this._composerVM.emitChange();
|
||||
this._composerVM?.emitChange();
|
||||
this.emitChange();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user