1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { openKeepServiceAttributesDialog, openKeepServiceRemoveDialog } from 'store/keep-services/keep-services-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 keepServiceActionSet: ContextMenuActionSet = [
15 execute: (dispatch, resources) => {
16 resources.forEach((resource) => dispatch<any>(openKeepServiceAttributesDialog(resource.uuid)));
22 execute: (dispatch, resources) => {
23 resources.forEach((resource) => dispatch<any>(openAdvancedTabDialog(resource.uuid)));
29 execute: (dispatch, resources) => {
30 resources.forEach((resource) => dispatch<any>(openKeepServiceRemoveDialog(resource.uuid)));