X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f83fcd45b4b23db2bb5bb4afbe1e863ebd77ec6..f60f33a2988545fdeb8b3b07d7cefb82c0d884d3:/services/workbench2/src/views-components/dialog-upload/dialog-collection-files-upload.tsx

diff --git a/services/workbench2/src/views-components/dialog-upload/dialog-collection-files-upload.tsx b/services/workbench2/src/views-components/dialog-upload/dialog-collection-files-upload.tsx
index f65bdabfeb..c29b627d36 100644
--- a/services/workbench2/src/views-components/dialog-upload/dialog-collection-files-upload.tsx
+++ b/services/workbench2/src/views-components/dialog-upload/dialog-collection-files-upload.tsx
@@ -7,7 +7,7 @@ import { InjectedFormProps, Field } from 'redux-form';
 import { WithDialogProps } from 'store/dialog/with-dialog';
 import { CollectionCreateFormDialogData } from 'store/collections/collection-create-actions';
 import { FormDialog } from 'components/form-dialog/form-dialog';
-import { require } from 'validators/require';
+import { fieldRequire } from 'validators/require';
 import { FileUploaderField } from 'views-components/file-uploader/file-uploader';
 import { WarningCollection } from 'components/warning-collection/warning-collection';
 import { fileUploaderActions } from 'store/file-uploader/file-uploader-actions';
@@ -43,6 +43,6 @@ const UploadCollectionFilesFields = () => <>
     <WarningCollection text="Uploading new files will change content address." />
 </>;
 
-const FILES_FIELD_VALIDATION = [require];
+const FILES_FIELD_VALIDATION = [fieldRequire];
 
 
