Fixed interval not clearing
This commit is contained in:
parent
547c4ea554
commit
51995c0d92
|
@ -240,7 +240,7 @@ export default {
|
||||||
this.fetchStatus();
|
this.fetchStatus();
|
||||||
if (this.$store.state.auth.availablePermissions['library']) {
|
if (this.$store.state.auth.availablePermissions['library']) {
|
||||||
this.fetchFs(true)
|
this.fetchFs(true)
|
||||||
setInterval(() => {
|
this.fsInterval = setInterval(() => {
|
||||||
this.fetchFs(false)
|
this.fetchFs(false)
|
||||||
}, 5000);
|
}, 5000);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue