From 28ed1473d6093f06715e6b4d075d3bb46792aeaa Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Tue, 9 Feb 2016 10:20:32 +0100 Subject: [PATCH] Hotfix for uploader merge error --- js/components/ascribe_uploader/react_s3_fine_uploader_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/ascribe_uploader/react_s3_fine_uploader_utils.js b/js/components/ascribe_uploader/react_s3_fine_uploader_utils.js index 19875d9b..d8925748 100644 --- a/js/components/ascribe_uploader/react_s3_fine_uploader_utils.js +++ b/js/components/ascribe_uploader/react_s3_fine_uploader_utils.js @@ -40,7 +40,7 @@ export const formSubmissionValidation = { fileOptional(files) { const uploadingFiles = files.filter((file) => file.status === FileStatus.SUBMITTING); - return uploadFiles.length === 0; + return uploadingFiles.length === 0; } };