X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3367b1ff2a1d1050bb435f7bc8230c03435b2529..ce19ce10f479c168f72003495696fdd0f01ecc52:/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 c42da1e6f8..cefef345f0 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 @@ -5,13 +5,16 @@ import { ContextMenuActionSet } from "../context-menu-action-set"; import { DetailsIcon, ProvenanceGraphIcon, AdvancedIcon, RestoreFromTrashIcon } from '~/components/icon/icon'; import { toggleCollectionTrashed } from "~/store/trash/trash-actions"; +import { detailsPanelActions } from "~/store/details-panel/details-panel-action"; +import { openAdvancedTabDialog } from "~/store/advanced-tab/advanced-tab"; +import { toggleDetailsPanel } from '~/store/details-panel/details-panel-action'; export const trashedCollectionActionSet: ContextMenuActionSet = [[ { icon: DetailsIcon, name: "View details", - execute: (dispatch, resource) => { - // add code + execute: dispatch => { + dispatch(toggleDetailsPanel()); } }, { @@ -25,7 +28,7 @@ export const trashedCollectionActionSet: ContextMenuActionSet = [[ icon: AdvancedIcon, name: "Advanced", execute: (dispatch, resource) => { - // add code + dispatch(openAdvancedTabDialog(resource.uuid)); } }, {