diff --git a/packages/vue-apollo-components/src/ApolloMutation.js b/packages/vue-apollo-components/src/ApolloMutation.js index 8e303df..6313739 100644 --- a/packages/vue-apollo-components/src/ApolloMutation.js +++ b/packages/vue-apollo-components/src/ApolloMutation.js @@ -82,6 +82,7 @@ export default { }).then(result => { this.$emit('done', result) this.loading = false + return result }).catch(e => { addGqlError(e) this.error = e