1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { ContextMenuActionSet } from "../context-menu-action-set";
6 import { RenameIcon, DownloadIcon, RemoveIcon } from "../../../components/icon/icon";
7 import { openRemoveDialog } from "../../remove-dialog/remove-dialog";
8 import { openRenameDialog } from "../../rename-dialog/rename-dialog";
11 export const collectionFilesItemActionSet: ContextMenuActionSet = [[{
14 execute: (dispatch, resource) => {
15 dispatch(openRenameDialog('the item'));
20 execute: (dispatch, resource) => {
26 execute: (dispatch, resource) => {
27 dispatch(openRemoveDialog('selected file'));