1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { openComputeNodeRemoveDialog, openComputeNodeAttributesDialog } from 'store/compute-nodes/compute-nodes-actions';
6 import { openAdvancedTabDialog } from 'store/advanced-tab/advanced-tab';
7 import { ContextMenuActionSet } from "views-components/context-menu/context-menu-action-set";
8 import { AdvancedIcon, RemoveIcon, AttributesIcon } from "components/icon/icon";
10 export const computeNodeActionSet: ContextMenuActionSet = [[{
13 execute: (dispatch, { uuid }) => {
14 dispatch<any>(openComputeNodeAttributesDialog(uuid));
19 execute: (dispatch, { uuid }) => {
20 dispatch<any>(openAdvancedTabDialog(uuid));
25 execute: (dispatch, { uuid }) => {
26 dispatch<any>(openComputeNodeRemoveDialog(uuid));