diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-11-20 09:56:08 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2017-11-23 12:41:13 +0100 |
| commit | 908d5739527f17363cfd7ef4f9ff14783119b66a (patch) | |
| tree | 1ad0753226dbb8e13684c82b9c348eeb690a356d /app/components | |
| parent | b7c20c6cfa6c31e82286fb4e11164a43d234d348 (diff) | |
| download | mullvadvpn-908d5739527f17363cfd7ef4f9ff14783119b66a.tar.xz mullvadvpn-908d5739527f17363cfd7ef4f9ff14783119b66a.zip | |
Rename RelayConstraints -> RelaySettings
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/Connect.js | 6 | ||||
| -rw-r--r-- | app/components/SelectLocation.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js index 1dc135c745..2569e4b4b3 100644 --- a/app/components/Connect.js +++ b/app/components/Connect.js @@ -94,8 +94,8 @@ export default class Connect extends Component { } _getServerInfo() { - const { relayConstraints } = this.props.settings; - if (relayConstraints.host === 'any') { + const { relaySettings } = this.props.settings; + if (relaySettings.host === 'any') { return { name: 'Automatic', country: 'Automatic', @@ -104,7 +104,7 @@ export default class Connect extends Component { }; } - return this.props.getServerInfo(relayConstraints.host); + return this.props.getServerInfo(relaySettings.host); } renderMap(): React.Element<*> { diff --git a/app/components/SelectLocation.js b/app/components/SelectLocation.js index c6325ae2a5..b5f395b7ba 100644 --- a/app/components/SelectLocation.js +++ b/app/components/SelectLocation.js @@ -24,7 +24,7 @@ export default class SelectLocation extends Component { } isSelected(server: string) { - const { host } = this.props.settings.relayConstraints; + const { host } = this.props.settings.relaySettings; return server === host; } |
