Don't include all networks by default in the room directory
Fixes https://github.com/vector-im/riot-web/issues/9285pull/21833/head
parent
6a8b98eb71
commit
b59de78129
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue