Put name of property in emitChange

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-05-23 17:59:47 +05:30
parent e39572b98b
commit 96959a3c4c

View file

@ -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");
}
}