X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/71794c06557ccae7e54644ad23296aafde748d51..61eb34ae0ce62f67769baeba02b4e15971873e34:/src/views-components/dialog-forms/copy-collection-dialog.ts diff --git a/src/views-components/dialog-forms/copy-collection-dialog.ts b/src/views-components/dialog-forms/copy-collection-dialog.ts index 6354f969..41309fdf 100644 --- a/src/views-components/dialog-forms/copy-collection-dialog.ts +++ b/src/views-components/dialog-forms/copy-collection-dialog.ts @@ -5,12 +5,14 @@ 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-collection-copy/dialog-collection-copy"; +import { COLLECTION_COPY_FORM_NAME } from '~/store/collections/collection-copy-actions'; +import { DialogCopy } from "~/views-components/dialog-copy/dialog-copy"; +import { copyCollection } from '~/store/workbench/workbench-actions'; +import { CopyFormDialogData } from '~/store/copy-dialog/copy-dialog'; export const CopyCollectionDialog = compose( withDialog(COLLECTION_COPY_FORM_NAME), - reduxForm({ + reduxForm({ form: COLLECTION_COPY_FORM_NAME, onSubmit: (data, dispatch) => { dispatch(copyCollection(data));