Don't include all networks by default in the room directory

Fixes https://github.com/vector-im/riot-web/issues/9285
pull/21833/head
Travis Ralston 2019-04-05 10:50:01 -06:00
parent 6a8b98eb71
commit b59de78129
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ export default class NetworkDropdown extends React.Component {
expanded: false,
selectedServer: server,
selectedInstanceId: null,
includeAllNetworks: true,
includeAllNetworks: false,
};
}
@ -109,7 +109,7 @@ export default class NetworkDropdown extends React.Component {
expanded: false,
selectedServer: e.target.value,
selectedNetwork: null,
includeAllNetworks: true,
includeAllNetworks: false,
});
this.props.onOptionChange(e.target.value, null);
}