Fix auto refresh not clearing on component unmount
This commit is contained in:
parent
435d28c790
commit
c19cf125e8
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export default function PaginationMixin (opts = {}) {
|
||||||
this.fetchMore()
|
this.fetchMore()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeUnmount () {
|
||||||
clearInterval(this.pollingInterval)
|
clearInterval(this.pollingInterval)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue