aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-04 15:27:40 +0700
committerLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-04 15:27:40 +0700
commitd8d5df6e72163b00e035f729b1013a957fed2321 (patch)
treeee0993c8b3d1ddb551aafa71b1e6bf932500ef3d /src/stores/AppStore.js
parentBetter handling for user data path (#100) (diff)
parentFix lint (diff)
downloadferdium-app-d8d5df6e72163b00e035f729b1013a957fed2321.tar.gz
ferdium-app-d8d5df6e72163b00e035f729b1013a957fed2321.tar.zst
ferdium-app-d8d5df6e72163b00e035f729b1013a957fed2321.zip
Merge branch 'develop' of github.com:getferdi/ferdi into develop
Diffstat (limited to 'src/stores/AppStore.js')
-rw-r--r--src/stores/AppStore.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js
index 5bae6e8d4..40d98cf42 100644
--- a/src/stores/AppStore.js
+++ b/src/stores/AppStore.js
@@ -22,6 +22,7 @@ import { getLocale } from '../helpers/i18n-helpers';
22 22
23import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '../helpers/service-helpers.js'; 23import { getServiceIdsFromPartitions, removeServicePartitionDirectory } from '../helpers/service-helpers.js';
24import { isValidExternalURL } from '../helpers/url-helpers'; 24import { isValidExternalURL } from '../helpers/url-helpers';
25import { sleep } from '../helpers/async-helpers';
25 26
26const debug = require('debug')('Ferdi:AppStore'); 27const debug = require('debug')('Ferdi:AppStore');
27 28
@@ -317,6 +318,8 @@ export default class AppStore extends Store {
317 318
318 await clearAppCache._promise; 319 await clearAppCache._promise;
319 320
321 await sleep(ms('1s'));
322
320 this.getAppCacheSizeRequest.execute(); 323 this.getAppCacheSizeRequest.execute();
321 324
322 this.isClearingAllCache = false; 325 this.isClearingAllCache = false;