From 91295c68adee3e728f58cdcd4a65f9c862e587d5 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 12 Jun 2017 17:54:58 +0100 Subject: [PATCH] Don't show the tooltips when filtering rooms Fixes https://github.com/vector-im/riot-web/issues/4281 --- 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 2740c6a400..092ed9cca0 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -530,7 +530,7 @@ var RoomSubList = React.createClass({ var label = this.props.collapsed ? null : this.props.label; let content; - if (this.state.sortedList.length == 0) { + if (this.state.sortedList.length == 0 && !this.props.searchFilter) { content = this.props.emptyContent; } else { content = this.makeRoomTiles();