mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-21 21:51:19 +02:00
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…
x
Reference in New Issue
Block a user