1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-07 15:28:42 +01:00

fix: Await initialize when TimelineSpace is created

This commit is contained in:
AkiraFukushima 2018-11-17 17:49:52 +09:00
parent e4cea39b1a
commit 28b76ff03c

View File

@ -50,9 +50,9 @@ export default {
return !this.modalOpened
}
},
created () {
async created () {
this.$store.commit('TimelineSpace/changeLoading', true)
this.initialize()
await this.initialize()
.finally(() => {
this.$store.commit('TimelineSpace/changeLoading', false)
this.$store.commit('GlobalHeader/updateChanging', false)