clarify comment
This commit is contained in:
parent
de14d6b54b
commit
537972b97b
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ export class SessionViewModel extends ViewModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
_closeCurrentRoom() {
|
_closeCurrentRoom() {
|
||||||
// no closing in grid for now
|
// no closing in grid for now as it is disabled on narrow viewports
|
||||||
if (!this._gridViewModel) {
|
if (!this._gridViewModel) {
|
||||||
this._currentRoomTileViewModel?.close();
|
this._currentRoomTileViewModel?.close();
|
||||||
this._currentRoomViewModel = this.disposeTracked(this._currentRoomViewModel);
|
this._currentRoomViewModel = this.disposeTracked(this._currentRoomViewModel);
|
||||||
|
|
Reference in a new issue