X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6ad3586e61737306f61a330eca545ca494f16304..d9c4c82329d110b180003a36142e0a8e4d11ccc8:/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 fc0139c86f..f34f286840 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 @@ -2,11 +2,15 @@ // // SPDX-License-Identifier: AGPL-3.0 -import { ContextMenuActionSet } from "~/views-components/context-menu/context-menu-action-set"; -import { collectionPanelFilesAction, openMultipleFilesRemoveDialog } from "~/store/collection-panel/collection-panel-files/collection-panel-files-actions"; -import { openCollectionPartialCopyDialog, openCollectionPartialCopyToSelectedCollectionDialog } from '~/store/collections/collection-partial-copy-actions'; -import { DownloadCollectionFileAction } from "~/views-components/context-menu/actions/download-collection-file-action"; +import { ContextMenuActionSet } from "views-components/context-menu/context-menu-action-set"; +import { collectionPanelFilesAction, openMultipleFilesRemoveDialog } from "store/collection-panel/collection-panel-files/collection-panel-files-actions"; +import { + openCollectionPartialCopyDialog, + // Disabled while addressing #18587 + // openCollectionPartialCopyToSelectedCollectionDialog +} from 'store/collections/collection-partial-copy-actions'; +// These action sets are used on the multi-select actions button. export const readOnlyCollectionFilesActionSet: ContextMenuActionSet = [[ { name: "Select all", @@ -20,22 +24,19 @@ export const readOnlyCollectionFilesActionSet: ContextMenuActionSet = [[ dispatch(collectionPanelFilesAction.UNSELECT_ALL_COLLECTION_FILES()); } }, - { - component: DownloadCollectionFileAction, - execute: () => { return; } - }, { name: "Create a new collection with selected", execute: dispatch => { dispatch(openCollectionPartialCopyDialog()); } }, - { - name: "Copy selected into the collection", - execute: dispatch => { - dispatch(openCollectionPartialCopyToSelectedCollectionDialog()); - } - } + // Disabled while addressing #18587 + // { + // name: "Copy selected into the collection", + // execute: dispatch => { + // dispatch(openCollectionPartialCopyToSelectedCollectionDialog()); + // } + // } ]]; export const collectionFilesActionSet: ContextMenuActionSet = readOnlyCollectionFilesActionSet.concat([[