Merge pull request #717 from h3poteto/fix/timeline-initialize
fix: Await initialize when TimelineSpace is created
This commit is contained in:
commit
8ac72af444
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue