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()
|
||||
}
|
||||
},
|
||||
beforeDestroy () {
|
||||
beforeUnmount () {
|
||||
clearInterval(this.pollingInterval)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue