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:
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