1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { ContextMenuActionSet } from "~/views-components/context-menu/context-menu-action-set";
6 import { AdvancedIcon, ProjectIcon, AttributesIcon } from "~/components/icon/icon";
7 import { openAdvancedTabDialog } from '~/store/advanced-tab/advanced-tab';
8 import { openUserAttributes, openUserProjects } from "~/store/users/users-actions";
10 export const userActionSet: ContextMenuActionSet = [[{
13 execute: (dispatch, { uuid }) => {
14 dispatch<any>(openUserAttributes(uuid));
19 execute: (dispatch, { uuid }) => {
20 dispatch<any>(openUserProjects(uuid));
25 execute: (dispatch, { uuid }) => {
26 dispatch<any>(openAdvancedTabDialog(uuid));
29 // Neither of the buttons on this dialog work correctly (bugs #16114 and #16124) so hide it for now.
33 execute: (dispatch, { uuid }) => {
34 dispatch<any>(openUserManagement(uuid));