X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/cdc8a73914399a401642ca553e9d3d8b2d42db5c..3e3eaa213219ebcac9b52c8fbe3ec3ef7c39c863:/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 fcdd9993..14cecad5 100644 --- a/src/views-components/dialog-forms/move-collection-dialog.ts +++ b/src/views-components/dialog-forms/move-collection-dialog.ts @@ -3,12 +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 { 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 { 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), @@ -17,5 +18,6 @@ export const MoveCollectionDialog = compose( onSubmit: (data, dispatch) => { dispatch(moveCollection(data)); } - }) + }), + pickerId(COLLECTION_MOVE_FORM_NAME), )(DialogMoveTo);