mirror of https://github.com/vector-im/riot-web
Merge pull request #4282 from vector-im/dbkr/dont_show_emptycontent_in_search
Don't show the tooltips when filtering roomspull/4299/head
commit
1bb7c54ab4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue