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: [PATCH] Prevent duplicate entries in file sidebar

Signed-off-by: Gary Kim <gary@garykim.dev>
---
 apps/files/js/dist/sidebar.js           | Bin 402758 -> 402702 bytes
 apps/files/js/dist/sidebar.js.map       | Bin 1505628 -> 1505548 bytes
 apps/files/src/components/LegacyTab.vue |   3 ---
 3 files changed, 3 deletions(-)

diff --git a/apps/files/js/dist/sidebar.js b/apps/files/js/dist/sidebar.js
index 0815e1329dcfa268b7d0651e65620508cf367445..bc0389357eb4f2f25b8f20af37601a032575c36b 100644
GIT binary patch
delta 30
mcmX?hN}}(SL_-T>3sVbo3(FSPCGV$yNn;V-{{B5{xG4b4+YK!M

delta 48
zcmV-00MGx9${5DV7=VNUgaU*Egaot&r0<s-bOaoiCh`RxlXadFlm49sm;dnv4Y$hg
G1w=LKeH4iR

diff --git a/apps/files/js/dist/sidebar.js.map b/apps/files/js/dist/sidebar.js.map
index b4956474f4d9d2f90044600388aa29449f913767..eb0020408c7eee3116e5bad6b22346d068b1008e 100644
GIT binary patch
delta 180
zcmccfDZ1xV^oF+qEQX0`M$I1s+CK&`0x=U1GXpUT5VHa?+xCwE>^aw^10Bts9d*JT
zwSi=*v!kn{PO@W`3rHk;dY1-=5@SyLS`7{$<^*CcAm#>Q9w6ogVm=_|2Vwyr76f7;
zAQlE<5g-=bzE(r*bl&!D)5VrBa#&g>8KhdInM}7|ET%O5z)Uff>0Z~xgtqURDYhsc
E07EoH$p8QV

delta 226
zcmeDA6n*DY^oF+qEJlVYX3ZZ1+CK&`0x=U1GXpUT5VHa?+xCwE>^awUBOT419d*JT
zEr4XEv!kn{PM~9k3rHjzNS1;{k{t`cB8Af{G&qzPi`r*vZ~!qU5OV=BHxTmxF)tAF
z0Wm)i3jnbo5DNjZFc6CXvFP^M8e*sO1d~$J@{3Y^^GoweG&B{eWAdhJOczt1{&t}l
r`}XwdVv89$Op**zl9SU6roUe#rZl}^rkKj~U)RKhwr9;0TNDof!aY-t

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)
-- 
GitLab