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 { openSshKeyRemoveDialog, openSshKeyAttributesDialog } from '~/store/auth/auth-action';
9 export const sshKeyActionSet: ContextMenuActionSet = [[{
12 execute: (dispatch, { index }) => {
13 dispatch<any>(openSshKeyAttributesDialog(index!));
18 execute: (dispatch, { uuid, index }) => {
24 execute: (dispatch, { uuid }) => {
25 dispatch<any>(openSshKeyRemoveDialog(uuid));