X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/92b75858458bfeb573b1e196a44c31aab3869b75..6a6fea74799f8fc473578978499f66171f5b6ab3:/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts diff --git a/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts b/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts index e11228b4..1f91d7e5 100644 --- a/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts +++ b/src/views-components/context-menu/action-sets/trashed-collection-action-set.ts @@ -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(openAdvancedTabDialog(resource.uuid)) + execute: (dispatch, resource) => { + dispatch(openAdvancedTabDialog(resource.uuid)); + } }, { icon: RestoreFromTrashIcon, name: "Restore", - execute: (dispatch, resource) => dispatch(toggleCollectionTrashed(resource.uuid, true)) + execute: (dispatch, resource) => { + dispatch(toggleCollectionTrashed(resource.uuid, true)); + } }, ]];