[ARVADOS-WORKBENCH2] updated: 1.2.0-180-gd37d39a
Git user
git at public.curoverse.com
Tue Aug 28 08:04:51 EDT 2018
Summary of changes:
src/views-components/dialog-upload/collection-files-upload-dialog.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
via d37d39ad8825b03c39915e1258e294abcf0c3b6a (commit)
from 3d8c3da5fdc9488ac37d09211af8312e77ebebcb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit d37d39ad8825b03c39915e1258e294abcf0c3b6a
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Tue Aug 28 14:04:35 2018 +0200
Move files field validation to const
Feature #14119
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/src/views-components/dialog-upload/collection-files-upload-dialog.tsx b/src/views-components/dialog-upload/collection-files-upload-dialog.tsx
index c2a2061..8b6e59e 100644
--- a/src/views-components/dialog-upload/collection-files-upload-dialog.tsx
+++ b/src/views-components/dialog-upload/collection-files-upload-dialog.tsx
@@ -24,7 +24,9 @@ export const CollectionFilesUploadDialog = (props: CollectionFilesUploadDialogPr
const UploadCollectionFilesFields = () =>
<Field
name='files'
- validate={[require]}
+ validate={FILES_FIELD_VALIDATION}
component={FileUploaderField} />;
+const FILES_FIELD_VALIDATION = [require];
+
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list