From 0b83baeaf499d4ed426f875bde2e5858df6e6a88 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 2740c6a4..092ed9cc 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();