X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/aebc1ac220838aa4f849473f3dda8d121f6118af..1d4e548cf6c8f11d939712ea5f4df06786a89d64:/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 7ba9f5ee..ea0d1aaf 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,7 +5,6 @@ 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'; @@ -27,8 +26,8 @@ export const trashedCollectionActionSet: ContextMenuActionSet = [[ { icon: AdvancedIcon, name: "Advanced", - execute: (dispatch, { uuid, ownerUuid }) => { - dispatch(openAdvancedTabDialog(uuid, ownerUuid)); + execute: (dispatch, resource) => { + dispatch(openAdvancedTabDialog(resource.uuid)); } }, {