X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/fbec771115f1872bdadc0572a5c5059be68f1aca..f724a564f37f4e2d48c2c1b929d739d821df48fe:/src/views-components/context-menu/action-sets/collection-action-set.ts diff --git a/src/views-components/context-menu/action-sets/collection-action-set.ts b/src/views-components/context-menu/action-sets/collection-action-set.ts index fbb5c864..566f8f12 100644 --- a/src/views-components/context-menu/action-sets/collection-action-set.ts +++ b/src/views-components/context-menu/action-sets/collection-action-set.ts @@ -5,8 +5,8 @@ import { ContextMenuActionSet } from "../context-menu-action-set"; import { ToggleFavoriteAction } from "../actions/favorite-action"; import { toggleFavorite } from "../../../store/favorites/favorites-actions"; -import { dataExplorerActions } from "../../../store/data-explorer/data-explorer-action"; import { RenameIcon, ShareIcon, MoveToIcon, CopyIcon, DetailsIcon, ProvenanceGraphIcon, AdvancedIcon, RemoveIcon } from "../../../components/icon/icon"; +import { openUpdator } from "../../../store/collections/updator/collection-updator-action"; import { favoritePanelActions } from "../../../store/favorite-panel/favorite-panel-action"; export const collectionActionSet: ContextMenuActionSet = [[ @@ -14,7 +14,7 @@ export const collectionActionSet: ContextMenuActionSet = [[ icon: RenameIcon, name: "Edit collection", execute: (dispatch, resource) => { - // add code + dispatch(openUpdator(resource.uuid)); } }, { @@ -35,7 +35,7 @@ export const collectionActionSet: ContextMenuActionSet = [[ component: ToggleFavoriteAction, execute: (dispatch, resource) => { dispatch(toggleFavorite(resource)).then(() => { - dispatch(favoritePanelActions.REQUEST_ITEMS()); + dispatch(favoritePanelActions.REQUEST_ITEMS()); }); } },