aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r--src/stores/AppStore.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index ca5cad836..0a6309092 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -207,10 +207,9 @@ 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 this.actions.service.reloadAll(); 210 setTimeout(() => {
211 211 window.location.reload();
212 this.stores.user.getUserInfoRequest.invalidate({ immediately: true }); 212 }, ms('2s'));
213 this.stores.features.featuresRequest.invalidate({ immediately: true });
214 213
215 statsEvent('resumed-app'); 214 statsEvent('resumed-app');
216 } 215 }