X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e1405a5108ab48429606c9460595dad6bd2d82c0..e039a6f51ca398dae75a76cf2817b3f91bc0c1a6:/src/views-components/dialog-update/dialog-collection-update.tsx diff --git a/src/views-components/dialog-update/dialog-collection-update.tsx b/src/views-components/dialog-update/dialog-collection-update.tsx index 31dd264df2..b98e0e840f 100644 --- a/src/views-components/dialog-update/dialog-collection-update.tsx +++ b/src/views-components/dialog-update/dialog-collection-update.tsx @@ -3,12 +3,11 @@ // SPDX-License-Identifier: AGPL-3.0 import * as React from 'react'; -import { InjectedFormProps, Field } from 'redux-form'; +import { InjectedFormProps } from 'redux-form'; import { WithDialogProps } from '~/store/dialog/with-dialog'; -import { CollectionUpdateFormDialogData } from '~/store/collections/collection-updater-actions'; -import { COLLECTION_NAME_VALIDATION, COLLECTION_DESCRIPTION_VALIDATION } from '~/validators/validators'; -import { TextField } from '~/components/text-field/text-field'; +import { CollectionUpdateFormDialogData } from '~/store/collections/collection-update-actions'; import { FormDialog } from '~/components/form-dialog/form-dialog'; +import { CollectionNameField, CollectionDescriptionField } from '~/views-components/form-fields/collection-form-fields'; type DialogCollectionProps = WithDialogProps<{}> & InjectedFormProps; @@ -21,14 +20,6 @@ export const DialogCollectionUpdate = (props: DialogCollectionProps) => />; const CollectionEditFields = () => - - + + ;