X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/a2cb695cb495ad156634b2caa4363a0753981203..e3b0f767bb84fa82188879e391b5feff15a3db0f:/src/views-components/context-menu/action-sets/collection-files-action-set.ts diff --git a/src/views-components/context-menu/action-sets/collection-files-action-set.ts b/src/views-components/context-menu/action-sets/collection-files-action-set.ts index 69668a90..5c4dab30 100644 --- a/src/views-components/context-menu/action-sets/collection-files-action-set.ts +++ b/src/views-components/context-menu/action-sets/collection-files-action-set.ts @@ -3,9 +3,8 @@ // SPDX-License-Identifier: AGPL-3.0 import { ContextMenuActionSet } from "../context-menu-action-set"; -import { collectionPanelFilesAction, openMultipleFilesRemoveDialog } from "../../../store/collection-panel/collection-panel-files/collection-panel-files-actions"; -import { createCollectionWithSelected } from "../../create-collection-dialog-with-selected/create-collection-dialog-with-selected"; - +import { collectionPanelFilesAction, openMultipleFilesRemoveDialog } from "~/store/collection-panel/collection-panel-files/collection-panel-files-actions"; +import { openCollectionPartialCopyDialog } from '~/store/collections/collection-partial-copy-actions'; export const collectionFilesActionSet: ContextMenuActionSet = [[{ name: "Select all", @@ -30,6 +29,6 @@ export const collectionFilesActionSet: ContextMenuActionSet = [[{ }, { name: "Create a new collection with selected", execute: (dispatch) => { - dispatch(createCollectionWithSelected()); + dispatch(openCollectionPartialCopyDialog()); } }]];