From: Stephen Smith Date: Mon, 28 Mar 2022 20:37:27 +0000 (-0400) Subject: 18559: Fix wrong action in user profile context action X-Git-Tag: 2.4.0~1^2~15 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/736b2d3cc858cfba93bedf5367f5af6c1852fcfe 18559: Fix wrong action in user profile context action Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- 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 0b2ff379..987eb1c8 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 @@ -15,6 +15,7 @@ import { import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab'; import { loginAs, openUserAttributes, openUserProjects } from "store/users/users-actions"; import { openSetupDialog, openDeactivateDialog } from "store/user-profile/user-profile-actions"; +import { navigateToUserProfile } from "store/navigation/navigation-action"; export const userActionSet: ContextMenuActionSet = [[{ name: "Attributes", @@ -38,7 +39,7 @@ export const userActionSet: ContextMenuActionSet = [[{ name: "Account Settings", icon: UserPanelIcon, execute: (dispatch, { uuid }) => { - dispatch(openAdvancedTabDialog(uuid)); + dispatch(navigateToUserProfile(uuid)); } }, { name: "Setup User",