Merge branch 'master' into 13764-icons-colors-unification-refactoring
[arvados-workbench2.git] / src / views-components / context-menu / action-sets / project-action-set.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { ContextMenuActionSet } from "../context-menu-action-set";
6 import actions from "../../../store/project/project-action";
7 import { IconTypes } from "../../../components/icon/icon";
8
9 export const projectActionSet: ContextMenuActionSet = [[{
10     icon: IconTypes.FOLDER,
11     name: "New project",
12     execute: (dispatch, resource) => {
13         dispatch(actions.OPEN_PROJECT_CREATOR({ ownerUuid: resource.uuid }));
14     }
15 }, {
16     icon: IconTypes.ANNOUNCEMENT,
17     name: "Share",
18     execute: () => { return; }
19 }]];