Remove right panel on grid update if needed
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
98d8d44695
commit
7e38c3ea88
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ export class SessionViewModel extends ViewModel {
|
|||
_updateGrid(roomIds) {
|
||||
const changed = !(this._gridViewModel && roomIds);
|
||||
const currentRoomId = this.navigation.path.get("room");
|
||||
// Close right-panel if needed
|
||||
this._toggleRoomInformationPanel();
|
||||
if (roomIds) {
|
||||
if (!this._gridViewModel) {
|
||||
this._gridViewModel = this.track(new RoomGridViewModel(this.childOptions({
|
||||
|
|
Reference in a new issue