Fix Skeleton UI showing up when not intended.
This commit is contained in:
parent
a7e6d8e7f0
commit
27d276715e
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ export default class RoomList extends React.PureComponent<IProps, IState> {
|
|||
return p;
|
||||
}, [] as TagID[]);
|
||||
|
||||
const showSkeleton = tagOrder.every(tag => !this.state.sublists[tag]?.length);
|
||||
const showSkeleton = Object.values(RoomListStore.instance.unfilteredLists).every(list => !list?.length);
|
||||
|
||||
for (const orderedTagId of tagOrder) {
|
||||
const orderedRooms = this.state.sublists[orderedTagId] || [];
|
||||
|
|
Loading…
Reference in a new issue