Don't show the tooltips when filtering rooms
Fixes https://github.com/vector-im/riot-web/issues/4281pull/4282/head
parent
bbb9dd9228
commit
91295c68ad
|
@ -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