Skip to content

Commit

Permalink
fix: configuration should be synced regardless of $_init
Browse files Browse the repository at this point in the history
fixes #2521, #2522
  • Loading branch information
sodatea committed Sep 17, 2018
1 parent 6b825de commit d9c5b7c
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -107,15 +107,13 @@ export default {
id: this.id
}
},
manual: true,
async result ({ data, loading }) {
if (!this.$_init && !loading && data && data.configuration) {
this.$_init = true
this.tabsHaveChanges = data.configuration.tabs.reduce((obj, tab) => {
obj[tab.id] = false
return obj
}, {})
this.configuration = data.configuration
await this.$nextTick()
this.currentTab = data.configuration.tabs[0].id
}
Expand Down

0 comments on commit d9c5b7c

Please sign in to comment.