mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 12:37:22 +01:00
Put name of property in emitChange
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
e39572b98b
commit
96959a3c4c
@ -260,7 +260,7 @@ export class SessionViewModel extends ViewModel {
|
||||
this._roomInfoViewModel = enable ?
|
||||
this.track(new RoomInfoViewModel(this.childOptions({ room }))) :
|
||||
this.disposeTracked(this._roomInfoViewModel);
|
||||
this.emitChange();
|
||||
this.emitChange("roomInfoViewModel");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user