Don't show the tooltips when filtering rooms

Fixes https://github.com/vector-im/riot-web/issues/4281
pull/4314/head
David Baker 2017-06-12 17:54:58 +01:00
parent c43b30f2fd
commit 0b83baeaf4
1 changed files with 1 additions and 1 deletions

View File

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