diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-06-30 10:19:17 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-07-07 12:54:37 +0200 |
| commit | 5da649c239443431fe492fdf57fbdaee0099ca79 (patch) | |
| tree | 0af0fb8df25886c7e2b234a5fd8bd12ddcdfd230 /app/app.js | |
| parent | 14dde4abec12189a63f1ae071b300add447c2bfc (diff) | |
| download | mullvadvpn-5da649c239443431fe492fdf57fbdaee0099ca79.tar.xz mullvadvpn-5da649c239443431fe492fdf57fbdaee0099ca79.zip | |
Rename loginstate connecting->logging in
Diffstat (limited to 'app/app.js')
| -rw-r--r-- | app/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/app.js b/app/app.js index 1e56830880..f0fa27e4f1 100644 --- a/app/app.js +++ b/app/app.js @@ -24,14 +24,14 @@ const store = configureStore(initialState, memoryHistory); const backend = new Backend(store); // reset login state if user quit the app during login -if((['connecting', 'failed']: Array<LoginState>).includes(store.getState().account.status)) { +if((['logging in', 'failed']: Array<LoginState>).includes(store.getState().account.status)) { store.dispatch(accountActions.loginChange({ status: 'none' })); } -// reset connection state if user quit the app when connecting -if(store.getState().connection.status === 'connecting') { +// reset connection state if user quit the app when logging in +if(store.getState().connection.status === 'logging in') { store.dispatch(connectionActions.connectionChange({ status: 'disconnected' })); |
