mirror of https://github.com/nextcloud/bookmarks
Speed up initial load
This commit is contained in:
parent
8ac987573c
commit
256d0257b1
|
@ -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()
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue