Merge branch 'master' of github.com:Akryum/vue-apollo

This commit is contained in:
Guillaume Chau
2019-05-02 17:35:10 +02:00
+1 -1
View File
@@ -34,7 +34,7 @@ export default class SmartSubscription extends SmartApollo {
const ucb = apolloOptions.updateQuery && apolloOptions.updateQuery.bind(this.vm)
apolloOptions.updateQuery = (...args) => {
rcb(...args)
ucb && ucb(...args)
return ucb && ucb(...args)
}
}
this.sub = this.options.linkedQuery.subscribeToMore(apolloOptions)