Remove unnecessary check
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
c3333f5fe8
commit
9a605cc6c6
1 changed files with 0 additions and 3 deletions
|
@ -260,9 +260,6 @@ export class SessionViewModel extends ViewModel {
|
|||
_toggleRoomInformationPanel() {
|
||||
this._roomInfoViewModel = this.disposeTracked(this._roomInfoViewModel);
|
||||
const room = this._roomFromNavigation();
|
||||
if (!room) {
|
||||
return;
|
||||
}
|
||||
const enable = !!this.navigation.path.get("details");
|
||||
if (enable) {
|
||||
this._roomInfoViewModel = this.track(new RoomInfoViewModel(this.childOptions({ room })));
|
||||
|
|
Reference in a new issue