From 4d2347cf84fc34193aa2d9bd226550033b2838b4 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Sat, 23 Jun 2018 22:59:13 +0100 Subject: [PATCH] Make sure file settings are updated properly when removing items --- client/src/ui/components/bd/setting/File.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/ui/components/bd/setting/File.vue b/client/src/ui/components/bd/setting/File.vue index 4ccec7f1..01b3a447 100644 --- a/client/src/ui/components/bd/setting/File.vue +++ b/client/src/ui/components/bd/setting/File.vue @@ -20,8 +20,8 @@ {{ file_path }} - - + + @@ -51,7 +51,7 @@ }, removeItem(file_path) { if (this.setting.disabled) return; - Utils.removeFromArray(this.setting.value, file_path); + this.setting.value = Utils.removeFromArray(this.setting.value, file_path); } } }