From 51995c0d92d0c6c1ec218ed0b59f86b742c2a958 Mon Sep 17 00:00:00 2001
From: Agate <me@agate.blue>
Date: Thu, 6 Aug 2020 16:12:16 +0200
Subject: [PATCH] Fixed interval not clearing

---
 front/src/components/library/FileUpload.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/front/src/components/library/FileUpload.vue b/front/src/components/library/FileUpload.vue
index 1782f0c188..8bcf55bbe4 100644
--- a/front/src/components/library/FileUpload.vue
+++ b/front/src/components/library/FileUpload.vue
@@ -240,7 +240,7 @@ export default {
     this.fetchStatus();
     if (this.$store.state.auth.availablePermissions['library']) {
       this.fetchFs(true)
-      setInterval(() => {
+      this.fsInterval = setInterval(() => {
         this.fetchFs(false)
       }, 5000);
     }
-- 
GitLab