[ARVADOS-WORKBENCH2] updated: 1.2.0-135-g71794c0

Git user git at public.curoverse.com
Fri Aug 24 04:22:30 EDT 2018


Summary of changes:
 src/validators/validators.tsx                                         | 2 +-
 .../dialog-collection-copy.tsx}                                       | 4 ++--
 src/views-components/dialog-forms/copy-collection-dialog.ts           | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename src/views-components/{dialog-copy/dialog-copy.tsx => dialog-collection-copy/dialog-collection-copy.tsx} (89%)

       via  71794c06557ccae7e54644ad23296aafde748d51 (commit)
      from  47eb02af0c2c7bc4f0f852400308033c72322af8 (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 71794c06557ccae7e54644ad23296aafde748d51
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Fri Aug 24 10:22:11 2018 +0200

    cr
    
    Feature #13897
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/validators/validators.tsx b/src/validators/validators.tsx
index fd45a31..95edadf 100644
--- a/src/validators/validators.tsx
+++ b/src/validators/validators.tsx
@@ -16,6 +16,6 @@ export const COLLECTION_DESCRIPTION_VALIDATION = [maxLength(255)];
 export const COLLECTION_PROJECT_VALIDATION = [require];
 
 export const COPY_NAME_VALIDATION = [require, maxLength(255)];
-export const COPY_PROJECT_VALIDATION = [require];
+export const COPY_FILE_VALIDATION = [require];
 
 export const MOVE_TO_VALIDATION = [require];
diff --git a/src/views-components/dialog-copy/dialog-copy.tsx b/src/views-components/dialog-collection-copy/dialog-collection-copy.tsx
similarity index 89%
rename from src/views-components/dialog-copy/dialog-copy.tsx
rename to src/views-components/dialog-collection-copy/dialog-collection-copy.tsx
index 7592bbc..886301b 100644
--- a/src/views-components/dialog-copy/dialog-copy.tsx
+++ b/src/views-components/dialog-collection-copy/dialog-collection-copy.tsx
@@ -7,7 +7,7 @@ import { InjectedFormProps, Field } from 'redux-form';
 import { WithDialogProps } from '~/store/dialog/with-dialog';
 import { FormDialog } from '~/components/form-dialog/form-dialog';
 import { ProjectTreePickerField } from '~/views-components/project-tree-picker/project-tree-picker';
-import { COPY_NAME_VALIDATION, COPY_PROJECT_VALIDATION } from '~/validators/validators';
+import { COPY_NAME_VALIDATION, COPY_FILE_VALIDATION } from '~/validators/validators';
 import { TextField } from "~/components/text-field/text-field";
 import { CollectionCopyFormDialogData } from "~/store/collections/collection-copy-actions";
 
@@ -30,5 +30,5 @@ const DialogCopyFields = () => <span>
     <Field
         name="ownerUuid"
         component={ProjectTreePickerField}
-        validate={COPY_PROJECT_VALIDATION} />
+        validate={COPY_FILE_VALIDATION} />
 </span>;
diff --git a/src/views-components/dialog-forms/copy-collection-dialog.ts b/src/views-components/dialog-forms/copy-collection-dialog.ts
index 6a846c4..6354f96 100644
--- a/src/views-components/dialog-forms/copy-collection-dialog.ts
+++ b/src/views-components/dialog-forms/copy-collection-dialog.ts
@@ -6,7 +6,7 @@ import { compose } from "redux";
 import { withDialog } from "~/store/dialog/with-dialog";
 import { reduxForm } from 'redux-form';
 import { COLLECTION_COPY_FORM_NAME, CollectionCopyFormDialogData, copyCollection } from '~/store/collections/collection-copy-actions';
-import { DialogCopy } from "~/views-components/dialog-copy/dialog-copy";
+import { DialogCopy } from "~/views-components/dialog-collection-copy/dialog-collection-copy";
 
 export const CopyCollectionDialog = compose(
     withDialog(COLLECTION_COPY_FORM_NAME),

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list