X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/1f0d4a9c57515816112baa3cb45bf97bec490737..7467e941ed63e8885144e90c9ca11929f738b13a:/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 11640271..14cecad5 100644 --- a/src/views-components/dialog-forms/move-collection-dialog.ts +++ b/src/views-components/dialog-forms/move-collection-dialog.ts @@ -3,11 +3,13 @@ // SPDX-License-Identifier: AGPL-3.0 import { compose } from "redux"; -import { withDialog } from "~/store/dialog/with-dialog"; +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 { MoveToFormDialogData } from '~/store/move-to-dialog/move-to-dialog'; +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);