Skip to content

Commit ddf9aa0

Browse files
committed
fix(ApolloMutation): return result in mutate
1 parent b17817e commit ddf9aa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vue-apollo-components/src/ApolloMutation.js

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export default {
8282
}).then(result => {
8383
this.$emit('done', result)
8484
this.loading = false
85+
return result
8586
}).catch(e => {
8687
addGqlError(e)
8788
this.error = e

0 commit comments

Comments
 (0)