X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/d842372e4f45ee06315e511529e65ae1d3f319a0..49e31d482873af1328b934bf8f07d8e1d00ce5b6:/src/views-components/context-menu/action-sets/collection-resource-action-set.ts?ds=sidebyside diff --git a/src/views-components/context-menu/action-sets/collection-resource-action-set.ts b/src/views-components/context-menu/action-sets/collection-resource-action-set.ts index 66838a96..de39521b 100644 --- a/src/views-components/context-menu/action-sets/collection-resource-action-set.ts +++ b/src/views-components/context-menu/action-sets/collection-resource-action-set.ts @@ -9,7 +9,7 @@ import { RenameIcon, ShareIcon, MoveToIcon, CopyIcon, DetailsIcon, RemoveIcon } import { openCollectionUpdateDialog } from "~/store/collections/collection-update-actions"; import { favoritePanelActions } from "~/store/favorite-panel/favorite-panel-action"; import { openMoveCollectionDialog } from '~/store/move-collection-dialog/move-collection-dialog'; -import { openProjectCopyDialog } from '~/store/project-copy-project-dialog/project-copy-project-dialog'; +import { openCollectionCopyDialog } from '~/store/collections/collection-copy-actions'; export const collectionResourceActionSet: ContextMenuActionSet = [[ { @@ -43,7 +43,7 @@ export const collectionResourceActionSet: ContextMenuActionSet = [[ icon: CopyIcon, name: "Copy to project", execute: (dispatch, resource) => { - dispatch(openProjectCopyDialog({name: resource.name, projectUuid: resource.uuid})); + dispatch(openCollectionCopyDialog(resource)); }, }, {