Skip to content

Commit 3d7b1cb

Browse files
authored
Merge pull request element-hq#5164 from vector-im/luke/fix-no-roomlist-placeholders
Fix bug that made sub list placeholders not show for ILAG etc.
2 parents 56c366e + 70bbf2d commit 3d7b1cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/components/structures/RoomSubList.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ var RoomSubList = React.createClass({
536536
var label = this.props.collapsed ? null : this.props.label;
537537

538538
let content;
539-
if (this.state.sortedList.length == 0 && !this.props.searchFilter && !this.props.extraTiles) {
539+
if (this.state.sortedList.length === 0 && !this.props.searchFilter && this.props.extraTiles.length === 0) {
540540
content = this.props.emptyContent;
541541
} else {
542542
content = this.makeRoomTiles();

0 commit comments

Comments
 (0)