Fix bug that made sub list placeholders not show for ILAG etc.

This commit is contained in:
Luke Barnard 2017-10-04 15:58:40 +01:00
parent 56c366ebd3
commit 70bbf2df7a

View File

@ -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();