Merge pull request #5164 from vector-im/luke/fix-no-roomlist-placeholders

Fix bug that made sub list placeholders not show for ILAG etc.
pull/5203/head
Luke Barnard 2017-10-04 16:13:45 +01:00 committed by GitHub
commit 3d7b1cb382
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ var RoomSubList = React.createClass({
var label = this.props.collapsed ? null : this.props.label; var label = this.props.collapsed ? null : this.props.label;
let content; 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; content = this.props.emptyContent;
} else { } else {
content = this.makeRoomTiles(); content = this.makeRoomTiles();