diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-11-09 09:03:45 +0100 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-11-09 09:03:45 +0100 |
| commit | 7f6c8398eacb5421b51c1f02befde4e4f6402fc7 (patch) | |
| tree | 93456d22efbf668e39147ffb50b3beee37272a8c /app/components/SelectLocation.js | |
| parent | a77e01a50b165fd8d6e2db96652a1fcc9a220723 (diff) | |
| download | mullvadvpn-7f6c8398eacb5421b51c1f02befde4e4f6402fc7.tar.xz mullvadvpn-7f6c8398eacb5421b51c1f02befde4e4f6402fc7.zip | |
Redid the settings state and inlined a few components
Diffstat (limited to 'app/components/SelectLocation.js')
| -rw-r--r-- | app/components/SelectLocation.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/components/SelectLocation.js b/app/components/SelectLocation.js index c5180a3ffa..c6325ae2a5 100644 --- a/app/components/SelectLocation.js +++ b/app/components/SelectLocation.js @@ -25,10 +25,7 @@ export default class SelectLocation extends Component { isSelected(server: string) { const { host } = this.props.settings.relayConstraints; - if (host === 'any') { - return false; - } - return server === host.only; + return server === host; } drawCell(key: string, name: string, icon: ?string, onClick: (e: Event) => void): React.Element<*> { |
