mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Don't show the tooltips when filtering rooms
Fixes https://github.com/vector-im/riot-web/issues/4281
This commit is contained in:
parent
c43b30f2fd
commit
0b83baeaf4
@ -530,7 +530,7 @@ var RoomSubList = React.createClass({
|
|||||||
var label = this.props.collapsed ? null : this.props.label;
|
var label = this.props.collapsed ? null : this.props.label;
|
||||||
|
|
||||||
let content;
|
let content;
|
||||||
if (this.state.sortedList.length == 0) {
|
if (this.state.sortedList.length == 0 && !this.props.searchFilter) {
|
||||||
content = this.props.emptyContent;
|
content = this.props.emptyContent;
|
||||||
} else {
|
} else {
|
||||||
content = this.makeRoomTiles();
|
content = this.makeRoomTiles();
|
||||||
|
Loading…
Reference in New Issue
Block a user