mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Merge pull request #5164 from vector-im/luke/fix-no-roomlist-placeholders
Fix bug that made sub list placeholders not show for ILAG etc.
This commit is contained in:
commit
3d7b1cb382
1 changed files with 1 additions and 1 deletions
|
@ -536,7 +536,7 @@ var RoomSubList = React.createClass({
|
|||
var label = this.props.collapsed ? null : this.props.label;
|
||||
|
||||
let content;
|
||||
if (this.state.sortedList.length == 0 && !this.props.searchFilter && !this.props.extraTiles) {
|
||||
if (this.state.sortedList.length === 0 && !this.props.searchFilter && this.props.extraTiles.length === 0) {
|
||||
content = this.props.emptyContent;
|
||||
} else {
|
||||
content = this.makeRoomTiles();
|
||||
|
|
Loading…
Reference in a new issue