// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import { openKeepServiceAttributesDialog, openKeepServiceRemoveDialog } from '~/store/keep-services/keep-services-actions'; import { openAdvancedTabDialog } from '~/store/advanced-tab/advanced-tab'; import { ContextMenuActionSet } from "~/views-components/context-menu/context-menu-action-set"; import { AdvancedIcon, RemoveIcon, AttributesIcon } from "~/components/icon/icon"; export const keepServiceActionSet: ContextMenuActionSet = [[{ name: "Attributes", icon: AttributesIcon, execute: (dispatch, { uuid }) => { dispatch(openKeepServiceAttributesDialog(uuid)); } }, { name: "Advanced", icon: AdvancedIcon, execute: (dispatch, { uuid }) => { dispatch(openAdvancedTabDialog(uuid)); } }, { name: "Remove", icon: RemoveIcon, execute: (dispatch, { uuid }) => { dispatch(openKeepServiceRemoveDialog(uuid)); } }]];