1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Hotfix for uploader merge error

This commit is contained in:
Brett Sun 2016-02-09 10:20:32 +01:00
parent 57b1ef6b41
commit 28ed1473d6

View File

@ -40,7 +40,7 @@ export const formSubmissionValidation = {
fileOptional(files) { fileOptional(files) {
const uploadingFiles = files.filter((file) => file.status === FileStatus.SUBMITTING); const uploadingFiles = files.filter((file) => file.status === FileStatus.SUBMITTING);
return uploadFiles.length === 0; return uploadingFiles.length === 0;
} }
}; };