mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Update src/components/views/rooms/RoomList.tsx
Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
27d276715e
commit
a5d827c446
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue