19383: Rename advanced dialog to API Details
[arvados-workbench2.git] / src / views-components / context-menu / action-sets / root-project-action-set.ts
index d80fc9dab45a9617b9bd162c5f127b144b9bbb95..9cf5bf031a4718943e60a7f2e6943ade98e87b23 100644 (file)
@@ -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<any>(openProjectCreateDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openProjectCreateDialog(resource.uuid));
+        }
     },
     {
         icon: CollectionIcon,
         name: "New Collection",
-        execute: (dispatch, resource) => dispatch<any>(openCollectionCreateDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openCollectionCreateDialog(resource.uuid));
+        }
     }
 ]];