From 70bbf2df7aadc777679c1cb35e9392a7f6ffb6db Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 4 Oct 2017 15:58:40 +0100 Subject: [PATCH] Fix bug that made sub list placeholders not show for ILAG etc. --- src/components/structures/RoomSubList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 73e2aeba68..8fb7562f64 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -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();