From fe47f06a7ce4b79c96abc807c82c32333dfeb5e6 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 6 Nov 2021 15:54:47 +0000 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 616dae69..a7b09f6b 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -290,9 +290,7 @@ } current_files = getCurrentFiles(); let distinct_set = new Set([...files_to_add].filter( - x => - ! - current_files.has(x))); + x => !current_files.has(x))); console.log("distinct set", distinct_set.length, items); extendInputs(distinct_set.length);