X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/bef6136ae8f4e6d2ebae630940018a99946e6bda..4d2f28ce28f9a6ff5018a4a0c5200ee4bfb277e2:/src/views-components/dialog-forms/move-collection-dialog.ts diff --git a/src/views-components/dialog-forms/move-collection-dialog.ts b/src/views-components/dialog-forms/move-collection-dialog.ts index 38d6d033..b817b6a0 100644 --- a/src/views-components/dialog-forms/move-collection-dialog.ts +++ b/src/views-components/dialog-forms/move-collection-dialog.ts @@ -6,8 +6,10 @@ import { compose } from "redux"; import { withDialog } from "~/store/dialog/with-dialog"; import { reduxForm } from 'redux-form'; import { DialogMoveTo } from '~/views-components/dialog-move/dialog-move-to'; -import { COLLECTION_MOVE_FORM_NAME, moveCollection } from '~/store/collections/collection-move-actions'; +import { COLLECTION_MOVE_FORM_NAME } from '~/store/collections/collection-move-actions'; import { MoveToFormDialogData } from '~/store/move-to-dialog/move-to-dialog'; +import { moveCollection } from '~/store/workbench/workbench-actions'; +import { pickerId } from '~/store/tree-picker/picker-id'; export const MoveCollectionDialog = compose( withDialog(COLLECTION_MOVE_FORM_NAME), @@ -16,5 +18,6 @@ export const MoveCollectionDialog = compose( onSubmit: (data, dispatch) => { dispatch(moveCollection(data)); } - }) + }), + pickerId(COLLECTION_MOVE_FORM_NAME), )(DialogMoveTo);