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