X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/32f8f97903802e58b48ed307669c236750d8ee3e..fd49462a5a09e107b7bb5c0ef8635db328b399b8:/src/views-components/context-menu/action-sets/user-action-set.ts diff --git a/src/views-components/context-menu/action-sets/user-action-set.ts b/src/views-components/context-menu/action-sets/user-action-set.ts index 68098cff1d..2edb12d9fd 100644 --- a/src/views-components/context-menu/action-sets/user-action-set.ts +++ b/src/views-components/context-menu/action-sets/user-action-set.ts @@ -2,10 +2,10 @@ // // SPDX-License-Identifier: AGPL-3.0 -import { ContextMenuActionSet } from "~/views-components/context-menu/context-menu-action-set"; -import { AdvancedIcon, ProjectIcon, AttributesIcon, UserPanelIcon } from "~/components/icon/icon"; -import { openAdvancedTabDialog } from '~/store/advanced-tab/advanced-tab'; -import { openUserAttributes } from "~/store/users/users-actions"; +import { ContextMenuActionSet } from "views-components/context-menu/context-menu-action-set"; +import { AdvancedIcon, ProjectIcon, AttributesIcon } from "components/icon/icon"; +import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab'; +import { openUserAttributes, openUserProjects } from "store/users/users-actions"; export const userActionSet: ContextMenuActionSet = [[{ name: "Attributes", @@ -17,7 +17,7 @@ export const userActionSet: ContextMenuActionSet = [[{ name: "Project", icon: ProjectIcon, execute: (dispatch, { uuid }) => { - dispatch(openAdvancedTabDialog(uuid)); + dispatch(openUserProjects(uuid)); } }, { name: "Advanced", @@ -25,11 +25,13 @@ export const userActionSet: ContextMenuActionSet = [[{ execute: (dispatch, { uuid }) => { dispatch(openAdvancedTabDialog(uuid)); } -}, -{ +}, /* + // Neither of the buttons on this dialog work correctly (bugs #16114 and #16124) so hide it for now. + { name: "Manage", icon: UserPanelIcon, execute: (dispatch, { uuid }) => { - dispatch(openAdvancedTabDialog(uuid)); + dispatch(openUserManagement(uuid)); } -}]]; +} */ +]];