Fix suggested rooms not showing up regression from room list optimisation

pull/21833/head
Michael Telatynski 2021-04-27 16:30:54 +01:00
parent 31b9a4c312
commit 35799c213e
1 changed files with 3 additions and 1 deletions

View File

@ -763,7 +763,9 @@ export default class RoomSublist extends React.Component<IProps, IState> {
'mx_RoomSublist': true,
'mx_RoomSublist_hasMenuOpen': !!this.state.contextMenuPosition,
'mx_RoomSublist_minimized': this.props.isMinimized,
'mx_RoomSublist_hidden': !this.state.rooms.length && this.props.alwaysVisible !== true,
'mx_RoomSublist_hidden': (
!this.state.rooms.length && !this.props.extraTiles?.length && this.props.alwaysVisible !== true
),
});
let content = null;