From f1b86e35324fdb16929f7b645fd8de948d5282b9 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Mon, 12 Sep 2022 17:20:30 +0530 Subject: [PATCH] Add method to show join room view --- src/domain/session/leftpanel/LeftPanelViewModel.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/domain/session/leftpanel/LeftPanelViewModel.js b/src/domain/session/leftpanel/LeftPanelViewModel.js index fc783cfa..ce9aa0ee 100644 --- a/src/domain/session/leftpanel/LeftPanelViewModel.js +++ b/src/domain/session/leftpanel/LeftPanelViewModel.js @@ -77,6 +77,10 @@ export class LeftPanelViewModel extends ViewModel { this.navigation.push("create-room"); } + showJoinRoomView() { + this.navigation.push("join-room"); + } + _setupNavigation() { const roomObservable = this.navigation.observe("room"); this.track(roomObservable.subscribe(roomId => this._open(roomId)));