You've already forked matrix-react-sdk
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:
committed by
GitHub
parent
27d276715e
commit
a5d827c446
@@ -332,6 +332,7 @@ export default class RoomList extends React.PureComponent<IProps, IState> {
|
|||||||
return p;
|
return p;
|
||||||
}, [] as TagID[]);
|
}, [] as TagID[]);
|
||||||
|
|
||||||
|
// show a skeleton UI if the user is in no rooms
|
||||||
const showSkeleton = Object.values(RoomListStore.instance.unfilteredLists).every(list => !list?.length);
|
const showSkeleton = Object.values(RoomListStore.instance.unfilteredLists).every(list => !list?.length);
|
||||||
|
|
||||||
for (const orderedTagId of tagOrder) {
|
for (const orderedTagId of tagOrder) {
|
||||||
|
|||||||
Reference in New Issue
Block a user