Skip to content

Commit 1bb7c54

Browse files
authored
Merge pull request element-hq#4282 from vector-im/dbkr/dont_show_emptycontent_in_search
Don't show the tooltips when filtering rooms
2 parents bbb9dd9 + 91295c6 commit 1bb7c54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/components/structures/RoomSubList.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ var RoomSubList = React.createClass({
530530
var label = this.props.collapsed ? null : this.props.label;
531531

532532
let content;
533-
if (this.state.sortedList.length == 0) {
533+
if (this.state.sortedList.length == 0 && !this.props.searchFilter) {
534534
content = this.props.emptyContent;
535535
} else {
536536
content = this.makeRoomTiles();

0 commit comments

Comments
 (0)