mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Fix suggested rooms going missing (#9236)
This commit is contained in:
parent
ea0622a48e
commit
219f4fae3d
@ -592,12 +592,8 @@ export default class RoomList extends React.PureComponent<IProps, IState> {
|
|||||||
let extraTiles = null;
|
let extraTiles = null;
|
||||||
if (orderedTagId === DefaultTagID.Suggested) {
|
if (orderedTagId === DefaultTagID.Suggested) {
|
||||||
extraTiles = this.renderSuggestedRooms();
|
extraTiles = this.renderSuggestedRooms();
|
||||||
}
|
} else if (this.state.feature_favourite_messages && orderedTagId === DefaultTagID.SavedItems) {
|
||||||
|
|
||||||
if (this.state.feature_favourite_messages && orderedTagId === DefaultTagID.SavedItems) {
|
|
||||||
extraTiles = this.renderFavoriteMessagesList();
|
extraTiles = this.renderFavoriteMessagesList();
|
||||||
} else {
|
|
||||||
extraTiles = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const aesthetics = TAG_AESTHETICS[orderedTagId];
|
const aesthetics = TAG_AESTHETICS[orderedTagId];
|
||||||
|
Loading…
Reference in New Issue
Block a user