diff --git a/src/smart-apollo.js b/src/smart-apollo.js index 5294abf..3b769b7 100644 --- a/src/smart-apollo.js +++ b/src/smart-apollo.js @@ -268,7 +268,11 @@ export class SmartQuery extends SmartApollo { refetch (variables) { variables && (this.options.variables = variables) if (this.observer) { - const result = this.observer.refetch(variables) + const result = this.observer.refetch(variables).then((result) => { + if (!result.loading) { + this.loadingDone() + } + }) this.maySetLoading() return result }