X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9d465addb74ffb1209dab4b86e45f933bb21c840..416d4f0f57336b2225bcc82b0f4db8873adf8cd2:/src/views-components/context-menu/action-sets/root-project-action-set.ts?ds=sidebyside 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 d80fc9dab4..9cf5bf031a 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,19 +3,23 @@ // SPDX-License-Identifier: AGPL-3.0 import { ContextMenuActionSet } from "../context-menu-action-set"; -import { openCollectionCreateDialog } from '~/store/collections/collection-create-actions'; -import { NewProjectIcon, CollectionIcon } from "~/components/icon/icon"; -import { openProjectCreateDialog } from '~/store/projects/project-create-actions'; +import { openCollectionCreateDialog } from 'store/collections/collection-create-actions'; +import { NewProjectIcon, CollectionIcon } from "components/icon/icon"; +import { openProjectCreateDialog } from 'store/projects/project-create-actions'; export const rootProjectActionSet: ContextMenuActionSet = [[ { icon: NewProjectIcon, name: "New project", - execute: (dispatch, resource) => dispatch(openProjectCreateDialog(resource.uuid)) + execute: (dispatch, resource) => { + dispatch(openProjectCreateDialog(resource.uuid)); + } }, { icon: CollectionIcon, name: "New Collection", - execute: (dispatch, resource) => dispatch(openCollectionCreateDialog(resource.uuid)) + execute: (dispatch, resource) => { + dispatch(openCollectionCreateDialog(resource.uuid)); + } } ]];