X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/c324b64f3b26e79b4640b6f0cf55671f1a261bca..refs/heads/17231-stuck-on-loading-page-after-login:/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 41309fdf..bc0bb316 100644 --- a/src/views-components/dialog-forms/copy-collection-dialog.ts +++ b/src/views-components/dialog-forms/copy-collection-dialog.ts @@ -9,13 +9,16 @@ import { COLLECTION_COPY_FORM_NAME } from '~/store/collections/collection-copy-a import { DialogCopy } from "~/views-components/dialog-copy/dialog-copy"; import { copyCollection } from '~/store/workbench/workbench-actions'; import { CopyFormDialogData } from '~/store/copy-dialog/copy-dialog'; +import { pickerId } from '~/store/tree-picker/picker-id'; export const CopyCollectionDialog = compose( withDialog(COLLECTION_COPY_FORM_NAME), reduxForm({ form: COLLECTION_COPY_FORM_NAME, + touchOnChange: true, onSubmit: (data, dispatch) => { dispatch(copyCollection(data)); } - }) + }), + pickerId(COLLECTION_COPY_FORM_NAME), )(DialogCopy); \ No newline at end of file