fix: Invoke loadingDone when stopping SmartQuery (#559)
This commit is contained in:
committed by
Guillaume Chau
parent
d3886b9f2b
commit
555c200b72
@@ -76,6 +76,8 @@ export default class SmartQuery extends SmartApollo {
|
||||
stop () {
|
||||
super.stop()
|
||||
|
||||
this.loadingDone()
|
||||
|
||||
if (this.observer) {
|
||||
this.observer.stopPolling()
|
||||
this.observer = null
|
||||
|
||||
Reference in New Issue
Block a user