Merge pull request #717 from h3poteto/fix/timeline-initialize

fix: Await initialize when TimelineSpace is created
This commit is contained in:
AkiraFukushima 2018-11-17 18:01:09 +09:00 committed by GitHub
commit 8ac72af444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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)