1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { reset } from "redux-form";
7 import { ContextMenuActionSet } from "../context-menu-action-set";
8 import { projectActions } from "~/store/project/project-action";
9 import { NewProjectIcon } from "~/components/icon/icon";
10 import { PROJECT_CREATE_DIALOG } from "../../dialog-create/dialog-project-create";
12 export const rootProjectActionSet: ContextMenuActionSet = [[{
15 execute: (dispatch, resource) => {
16 dispatch(reset(PROJECT_CREATE_DIALOG));
17 dispatch(projectActions.OPEN_PROJECT_CREATOR({ ownerUuid: resource.uuid }));