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 { DetailsIcon, ProvenanceGraphIcon, AdvancedIcon, RestoreFromTrashIcon } from '~/components/icon/icon';
7 import { toggleCollectionTrashed } from "~/store/trash/trash-actions";
9 export const trashedCollectionActionSet: ContextMenuActionSet = [[
13 execute: (dispatch, resource) => {
18 icon: ProvenanceGraphIcon,
19 name: "Provenance graph",
20 execute: (dispatch, resource) => {
27 execute: (dispatch, resource) => {
32 icon: RestoreFromTrashIcon,
34 execute: (dispatch, resource) => {
35 dispatch<any>(toggleCollectionTrashed(resource.uuid, true));