Merge pull request #4282 from vector-im/dbkr/dont_show_emptycontent_in_search

Don't show the tooltips when filtering rooms
This commit is contained in:
David Baker 2017-06-12 18:09:54 +01:00 committed by GitHub
commit 1bb7c54ab4

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