From 23d30e27cb2abed94dac5a3f00e6ac4597b10f92 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 6 Dec 2021 15:58:02 +0000 Subject: [PATCH] Fix room list rendering --- src/domain/session/leftpanel/LeftPanelViewModel.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/domain/session/leftpanel/LeftPanelViewModel.js b/src/domain/session/leftpanel/LeftPanelViewModel.js index 9713d71b..8811af4c 100644 --- a/src/domain/session/leftpanel/LeftPanelViewModel.js +++ b/src/domain/session/leftpanel/LeftPanelViewModel.js @@ -33,9 +33,7 @@ export class LeftPanelViewModel extends ViewModel { const sync3List = new Sync3ObservableList(sync, rooms); const list = new ConcatList(invites.sortValues((a,b) => a.compare(b)), sync3List); this._tileViewModelsMap = this._mapTileViewModels(list); - this._tileViewModelsFilterMap = new ApplyMap(this._tileViewModelsMap); - console.log(this._tileViewModelsMap); - this._tileViewModels = this._tileViewModelsFilterMap;//.sortValues((a, b) => a.compare(b)); + this._tileViewModels = this._tileViewModelsMap; this._currentTileVM = null; this._setupNavigation(); this._closeUrl = this.urlCreator.urlForSegment("session");