mirror of https://github.com/vector-im/riot-web
Update src/components/views/rooms/RoomList.tsx
Co-authored-by: Travis Ralston <travpc@gmail.com>pull/21833/head
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) {
|
||||||
|
|
Loading…
Reference in New Issue