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 { openCollectionCreateDialog } from '~/store/collections/collection-create-actions';
7 import { NewProjectIcon, CollectionIcon } from "~/components/icon/icon";
8 import { openProjectCreateDialog } from '~/store/projects/project-create-actions';
10 export const rootProjectActionSet: ContextMenuActionSet = [[
14 execute: (dispatch, resource) => {
15 dispatch<any>(openProjectCreateDialog(resource.uuid));
20 name: "New Collection",
21 execute: (dispatch, resource) => {
22 dispatch<any>(openCollectionCreateDialog(resource.uuid));