18559: Fix wrong action in user profile context action
authorStephen Smith <stephen@curii.com>
Mon, 28 Mar 2022 20:37:27 +0000 (16:37 -0400)
committerStephen Smith <stephen@curii.com>
Mon, 28 Mar 2022 20:37:27 +0000 (16:37 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/views-components/context-menu/action-sets/user-action-set.ts

index 0b2ff379b04928c817fbc769b4f89e7f98f9b103..987eb1c878ca48a47d9f68a5975b33be6e6cd3bd 100644 (file)
@@ -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<any>(openAdvancedTabDialog(uuid));
+        dispatch<any>(navigateToUserProfile(uuid));
     }
 }, {
     name: "Setup User",