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, RemoveIcon, AttributesIcon } from "~/components/icon/icon";
7 import { openAdvancedTabDialog } from "~/store/advanced-tab/advanced-tab";
8 import { openGroupMemberAttributes, openRemoveGroupMemberDialog } from '~/store/group-details-panel/group-details-panel-actions';
10 export const groupMemberActionSet: ContextMenuActionSet = [[{
13 execute: (dispatch, { uuid }) => {
14 dispatch<any>(openGroupMemberAttributes(uuid));
19 execute: (dispatch, resource) => {
20 dispatch<any>(openAdvancedTabDialog(resource.uuid));
25 execute: (dispatch, { uuid }) => {
26 dispatch<any>(openRemoveGroupMemberDialog(uuid));