1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Update src/components/views/rooms/RoomList.tsx

Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Michael Telatynski
2020-11-10 01:22:30 +00:00
committed by GitHub
parent 27d276715e
commit a5d827c446

View File

@@ -332,6 +332,7 @@ export default class RoomList extends React.PureComponent<IProps, IState> {
return p;
}, [] as TagID[]);
// show a skeleton UI if the user is in no rooms
const showSkeleton = Object.values(RoomListStore.instance.unfilteredLists).every(list => !list?.length);
for (const orderedTagId of tagOrder) {