summaryrefslogtreecommitdiffhomepage
path: root/app/lib/backend.js
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-07-07 14:01:01 +0200
committerErik Larkö <erik@mullvad.net>2017-07-07 14:01:01 +0200
commit249a7bd02f3be3e3a5dc4925775cddd63da3cbae (patch)
tree3033099f2a3081618e05531a5e828b910b25c244 /app/lib/backend.js
parent14dde4abec12189a63f1ae071b300add447c2bfc (diff)
parent16ee9a212560f0a1989dc278cb9281152307275d (diff)
downloadmullvadvpn-249a7bd02f3be3e3a5dc4925775cddd63da3cbae.tar.xz
mullvadvpn-249a7bd02f3be3e3a5dc4925775cddd63da3cbae.zip
Merge branch 'state-refactoring'
Diffstat (limited to 'app/lib/backend.js')
-rw-r--r--app/lib/backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index 9c5b2ed064..a8774dc599 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -108,7 +108,7 @@ export class Backend {
country: location.country,
city: location.city
};
- this._store.dispatch(accountActions.loginChange(newLocation));
+ this._store.dispatch(connectionActions.connectionChange(newLocation));
})
.catch(e => {
log.info('Failed getting new location', e);
@@ -149,7 +149,7 @@ export class Backend {
this._store.dispatch(accountActions.loginChange({
accountNumber: accountNumber,
- status: 'connecting',
+ status: 'logging in',
error: null,
}));