Merge branch 'master'
[arvados-workbench2.git] / src / views-components / context-menu / action-sets / trashed-collection-action-set.ts
index e11228b49eac0be4f8f09f680d09426ad32a0cba..1f91d7e54361258ca45048284bf2033a51d78e45 100644 (file)
@@ -12,7 +12,9 @@ export const trashedCollectionActionSet: ContextMenuActionSet = [[
     {
         icon: DetailsIcon,
         name: "View details",
-        execute: dispatch => dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL())
+        execute: dispatch => {
+            dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL());
+        }
     },
     {
         icon: ProvenanceGraphIcon,
@@ -24,11 +26,15 @@ export const trashedCollectionActionSet: ContextMenuActionSet = [[
     {
         icon: AdvancedIcon,
         name: "Advanced",
-        execute: (dispatch, resource) => dispatch<any>(openAdvancedTabDialog(resource.uuid))
+        execute: (dispatch, resource) => {
+            dispatch<any>(openAdvancedTabDialog(resource.uuid));
+        }
     },
     {
         icon: RestoreFromTrashIcon,
         name: "Restore",
-        execute: (dispatch, resource) => dispatch<any>(toggleCollectionTrashed(resource.uuid, true))
+        execute: (dispatch, resource) => {
+            dispatch<any>(toggleCollectionTrashed(resource.uuid, true));
+        }
     },
 ]];