From d8881faa8eb58cccb14619bc3b6b2a051e8f4b5b Mon Sep 17 00:00:00 2001
From: Gary Kim <gary@garykim.dev>
Date: Thu, 9 Jan 2020 12:19:35 +0800
Subject: Prevent duplicate entries in file sidebar

Signed-off-by: Gary Kim <gary@garykim.dev>
---
 apps/files/src/components/LegacyTab.vue | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'apps/files/src/components/LegacyTab.vue')

diff --git a/apps/files/src/components/LegacyTab.vue b/apps/files/src/components/LegacyTab.vue
index 2802c9c58f0..e358499cb69 100644
--- a/apps/files/src/components/LegacyTab.vue
+++ b/apps/files/src/components/LegacyTab.vue
@@ -73,9 +73,6 @@ export default {
 			}
 		},
 	},
-	beforeMount() {
-		this.setFileInfo(this.fileInfo)
-	},
 	mounted() {
 		// append the backbone element and set the FileInfo
 		this.component.$el.appendTo(this.$el)
-- 
cgit v1.2.3

