mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04: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…
Reference in New Issue
Block a user