Skip to content

Commit

Permalink
fix(ui): git FileDiff close modal before commit operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Mar 27, 2018
1 parent 794910b commit c7ade2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-ui/src/components/FileDiffView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export default {
},
async commit () {
this.showCommitModal = false
this.loading++
try {
await this.$apollo.mutate({
Expand All @@ -196,7 +197,6 @@ export default {
message: this.commitMessage
}
})
this.showCommitModal = false
this.refresh()
this.$emit('continue')
} catch (e) {
Expand Down

0 comments on commit c7ade2c

Please sign in to comment.