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 { openRenameFileDialog } from "../../rename-file-dialog/rename-file-dialog";
8 import { openFileRemoveDialog } from "../../file-remove-dialog/file-remove-dialog";
11 export const collectionFilesItemActionSet: ContextMenuActionSet = [[{
14 execute: (dispatch, resource) => {
15 dispatch<any>(openRenameFileDialog(resource.name));
20 execute: (dispatch, resource) => {
26 execute: (dispatch, resource) => {
27 dispatch(openFileRemoveDialog(resource.uuid));