Merge branch 'master' into 13969-advanced-tab
[arvados-workbench2.git] / src / views-components / context-menu / action-sets / collection-resource-action-set.ts
index 8665bc1b6b858a29f3e23ced0ba316b35298b5c4..565a7d090c930cbc2ea93f678c3e58a730927cbe 100644 (file)
@@ -32,7 +32,9 @@ export const collectionResourceActionSet: ContextMenuActionSet = [[
     {
         icon: MoveToIcon,
         name: "Move to",
-        execute: (dispatch, resource) => dispatch<any>(openMoveCollectionDialog(resource))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openMoveCollectionDialog(resource));
+        }
     },
     {
         component: ToggleFavoriteAction,
@@ -53,12 +55,14 @@ export const collectionResourceActionSet: ContextMenuActionSet = [[
         name: "Copy to project",
         execute: (dispatch, resource) => {
             dispatch<any>(openCollectionCopyDialog(resource));
-        },
+        }
     },
     {
         icon: DetailsIcon,
         name: "View details",
-        execute: dispatch => dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL())
+        execute: dispatch => {
+            dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
+        }
     },
     {
         icon: RemoveIcon,