Fix room list rendering

This commit is contained in:
Kegan Dougal 2021-12-06 15:58:02 +00:00
parent a6b31741c3
commit 23d30e27cb

View file

@ -33,9 +33,7 @@ export class LeftPanelViewModel extends ViewModel {
const sync3List = new Sync3ObservableList(sync, rooms); const sync3List = new Sync3ObservableList(sync, rooms);
const list = new ConcatList(invites.sortValues((a,b) => a.compare(b)), sync3List); const list = new ConcatList(invites.sortValues((a,b) => a.compare(b)), sync3List);
this._tileViewModelsMap = this._mapTileViewModels(list); this._tileViewModelsMap = this._mapTileViewModels(list);
this._tileViewModelsFilterMap = new ApplyMap(this._tileViewModelsMap); this._tileViewModels = this._tileViewModelsMap;
console.log(this._tileViewModelsMap);
this._tileViewModels = this._tileViewModelsFilterMap;//.sortValues((a, b) => a.compare(b));
this._currentTileVM = null; this._currentTileVM = null;
this._setupNavigation(); this._setupNavigation();
this._closeUrl = this.urlCreator.urlForSegment("session"); this._closeUrl = this.urlCreator.urlForSegment("session");