We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3839681 + 0b04372 commit 98ad783Copy full SHA for 98ad783
src/smart-apollo.js
@@ -228,8 +228,8 @@ export class SmartQuery extends SmartApollo {
228
this.vm[this.options.loadingKey] += value
229
}
230
231
- if (this.options.loadingChangeCb) {
232
- this.options.loadingChangeCb.call(this.vm, value === 1, value)
+ if (this.options.watchLoading) {
+ this.options.watchLoading.call(this.vm, value === 1, value)
233
234
235
0 commit comments