X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1f0d4a9c57515816112baa3cb45bf97bec490737..c27efd822acfd3bd93fc3e2e3e24a24146811eb7:/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 1164027153..b817b6a0fe 100644 --- a/src/views-components/dialog-forms/move-collection-dialog.ts +++ b/src/views-components/dialog-forms/move-collection-dialog.ts @@ -5,9 +5,11 @@ import { compose } from "redux"; import { withDialog } from "~/store/dialog/with-dialog"; import { reduxForm } from 'redux-form'; -import { MoveToFormDialog } from '~/views-components/dialog-move/move-to-dialog'; -import { COLLECTION_MOVE_FORM_NAME, moveCollection } from '~/store/collections/collection-move-actions'; +import { DialogMoveTo } from '~/views-components/dialog-move/dialog-move-to'; +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)); } - }) -)(MoveToFormDialog); + }), + pickerId(COLLECTION_MOVE_FORM_NAME), +)(DialogMoveTo);