diff options
author | 2019-10-20 19:39:39 +0200 | |
---|---|---|
committer | 2019-10-20 19:39:39 +0200 | |
commit | 43b3f2ac532016cea1fe21f527564564e8eddd86 (patch) | |
tree | 14dd98517a07b9bf071cffe8a29d8759c1b7fc8a /src/stores | |
parent | Fix hard coded plan name (diff) | |
download | ferdium-app-43b3f2ac532016cea1fe21f527564564e8eddd86.tar.gz ferdium-app-43b3f2ac532016cea1fe21f527564564e8eddd86.tar.zst ferdium-app-43b3f2ac532016cea1fe21f527564564e8eddd86.zip |
Revert "test to reload app after resume"
This reverts commit 9a5f64fbf0ca1d8c73614d03dc7ed3b4cd285387.
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/AppStore.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index c38e84639..ca5cad836 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js | |||
@@ -207,7 +207,10 @@ export default class AppStore extends Store { | |||
207 | if (this.timeSuspensionStart.add(10, 'm').isBefore(moment())) { | 207 | if (this.timeSuspensionStart.add(10, 'm').isBefore(moment())) { |
208 | debug('Reloading services, user info and features'); | 208 | debug('Reloading services, user info and features'); |
209 | 209 | ||
210 | window.location.reload(); | 210 | this.actions.service.reloadAll(); |
211 | |||
212 | this.stores.user.getUserInfoRequest.invalidate({ immediately: true }); | ||
213 | this.stores.features.featuresRequest.invalidate({ immediately: true }); | ||
211 | 214 | ||
212 | statsEvent('resumed-app'); | 215 | statsEvent('resumed-app'); |
213 | } | 216 | } |