summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/backend.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index 75301df87a..3e128da0b1 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -222,7 +222,11 @@ export class Backend {
const actions = this._reduxActions;
try {
- await Promise.all([this.disconnectTunnel(), this._daemonRpc.setAccount(null)]);
+ await Promise.all([
+ this.disconnectTunnel(),
+ this._daemonRpc.setAccount(null),
+ this.fetchAccountHistory(),
+ ]);
actions.account.loggedOut();
actions.history.push('/');
} catch (e) {
@@ -526,6 +530,7 @@ export class Backend {
this.fetchRelayLocations(),
this.fetchAllowLan(),
this.fetchLocation(),
+ this.fetchAccountHistory(),
]);
}