Skip to content

Commit c7ade2c

Browse files
author
Guillaume Chau
committed
fix(ui): git FileDiff close modal before commit operation
1 parent 794910b commit c7ade2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-ui/src/components/FileDiffView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export default {
188188
},
189189
190190
async commit () {
191+
this.showCommitModal = false
191192
this.loading++
192193
try {
193194
await this.$apollo.mutate({
@@ -196,7 +197,6 @@ export default {
196197
message: this.commitMessage
197198
}
198199
})
199-
this.showCommitModal = false
200200
this.refresh()
201201
this.$emit('continue')
202202
} catch (e) {

0 commit comments

Comments
 (0)