Skip to content

Commit

Permalink
fix(ApolloMutation): return result in mutate
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jan 15, 2024
1 parent b17817e commit ddf9aa0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vue-apollo-components/src/ApolloMutation.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default {
}).then(result => {
this.$emit('done', result)
this.loading = false
return result
}).catch(e => {
addGqlError(e)
this.error = e
Expand Down

0 comments on commit ddf9aa0

Please sign in to comment.