show rooms and people section when empty while filtering
This commit is contained in:
parent
3c8bd3fc78
commit
7d4165802c
1 changed files with 1 additions and 1 deletions
|
@ -593,7 +593,7 @@ module.exports = React.createClass({
|
|||
|
||||
subListsProps = subListsProps.filter((props => {
|
||||
const len = props.list.length + (props.extraTiles ? props.extraTiles.length : 0);
|
||||
return len !== 0 || (props.onAddRoom && !this.props.searchFilter);
|
||||
return len !== 0 || props.onAddRoom;
|
||||
}));
|
||||
|
||||
return subListsProps.reduce((components, props, i) => {
|
||||
|
|
Loading…
Reference in a new issue