Speed up initial load

This commit is contained in:
Marcel Klehr 2020-08-13 17:40:31 +02:00
parent 8ac987573c
commit 256d0257b1
1 changed files with 3 additions and 2 deletions

View File

@ -66,11 +66,12 @@ export default {
}
// set loading indicator
this.$store.commit(mutations.FETCH_START, { type: 'bookmarks' })
this.reloadTags()
this.reloadCount()
await Promise.all([
this.reloadSettings(),
this.reloadTags(),
this.reloadFolders(),
this.reloadCount(),
])
this.onRoute()
},