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 { projectActions } from "../../../store/project/project-action";
7 import { ShareIcon, NewProjectIcon } from "../../../components/icon/icon";
8 import { FavoriteActionText, FavoriteActionIcon } from "./favorite-action";
10 export const projectActionSet: ContextMenuActionSet = [[{
13 execute: (dispatch, resource) => {
14 dispatch(projectActions.OPEN_PROJECT_CREATOR({ ownerUuid: resource.uuid }));
17 name: FavoriteActionText,
18 icon: FavoriteActionIcon,
19 execute: (dispatch, resource) => { alert(resource); }