X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/6a6fea74799f8fc473578978499f66171f5b6ab3..c88bb4d5e97a168a4f2209112bdac97577eb35f9:/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 1f91d7e5..020ff5c7 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 @@ -3,17 +3,17 @@ // SPDX-License-Identifier: AGPL-3.0 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 { DetailsIcon, ProvenanceGraphIcon, AdvancedIcon, RestoreFromTrashIcon } from 'components/icon/icon'; +import { toggleCollectionTrashed } from "store/trash/trash-actions"; +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 => { - dispatch(detailsPanelActions.TOGGLE_DETAILS_PANEL()); + dispatch(toggleDetailsPanel()); } }, { @@ -25,7 +25,7 @@ export const trashedCollectionActionSet: ContextMenuActionSet = [[ }, { icon: AdvancedIcon, - name: "Advanced", + name: "API Details", execute: (dispatch, resource) => { dispatch(openAdvancedTabDialog(resource.uuid)); }