X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/9320734bb358e7148918da13e81ebba59ecf16e8..12a7331edc4ca08c12f0d525df1a979d10cd1168:/src/views-components/context-menu/action-sets/root-project-action-set.ts diff --git a/src/views-components/context-menu/action-sets/root-project-action-set.ts b/src/views-components/context-menu/action-sets/root-project-action-set.ts index 53642d03..139bd26f 100644 --- a/src/views-components/context-menu/action-sets/root-project-action-set.ts +++ b/src/views-components/context-menu/action-sets/root-project-action-set.ts @@ -3,13 +3,13 @@ // SPDX-License-Identifier: AGPL-3.0 import { ContextMenuActionSet } from "../context-menu-action-set"; -import actions from "../../../store/project/project-action"; -import { IconTypes } from "../../../components/icon/icon"; +import { projectActions } from "../../../store/project/project-action"; +import { NewProjectIcon } from "../../../components/icon/icon"; export const rootProjectActionSet: ContextMenuActionSet = [[{ - icon: IconTypes.FOLDER, + icon: NewProjectIcon, name: "New project", execute: (dispatch, resource) => { - dispatch(actions.OPEN_PROJECT_CREATOR({ ownerUuid: resource.uuid })); + dispatch(projectActions.OPEN_PROJECT_CREATOR({ ownerUuid: resource.uuid })); } -}]]; \ No newline at end of file +}]];