1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { AdvancedIcon, AttributesIcon, UserPanelIcon } from 'components/icon/icon';
6 import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
7 import { openUserAttributes } from 'store/users/users-actions';
8 import { navigateToUserProfile } from 'store/navigation/navigation-action';
9 import { MultiSelectMenuActionSet, MultiSelectMenuActionNames } from './ms-menu-actions';
11 export const UserDetailsActionSet: MultiSelectMenuActionSet= [
14 name: MultiSelectMenuActionNames.ATTRIBUTES,
18 execute: (dispatch, resources) => {
19 dispatch<any>(openUserAttributes(resources[0].uuid));
23 name: MultiSelectMenuActionNames.API_DETAILS,
27 execute: (dispatch, resources) => {
28 dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
32 name: MultiSelectMenuActionNames.USER_ACCOUNT,
36 execute: (dispatch, resources) => {
37 dispatch<any>(navigateToUserProfile(resources[0].uuid));