projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15768: feedback cleanup Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii...
[arvados-workbench2.git]
/
src
/
views-components
/
context-menu
/
action-sets
/
api-client-authorization-action-set.ts
diff --git
a/src/views-components/context-menu/action-sets/api-client-authorization-action-set.ts
b/src/views-components/context-menu/action-sets/api-client-authorization-action-set.ts
index 0d3bebb12efc98d852ec8d80dc37942be5e73049..8e75d22f6714d97853f2d7061aa9167dc793a072 100644
(file)
--- a/
src/views-components/context-menu/action-sets/api-client-authorization-action-set.ts
+++ b/
src/views-components/context-menu/action-sets/api-client-authorization-action-set.ts
@@
-16,27
+16,21
@@
export const apiClientAuthorizationActionSet: ContextMenuActionSet = [
name: "Attributes",
icon: AttributesIcon,
execute: (dispatch, resources) => {
name: "Attributes",
icon: AttributesIcon,
execute: (dispatch, resources) => {
- for (const resource of [...resources]) {
- dispatch<any>(openApiClientAuthorizationAttributesDialog(resource.uuid));
- }
+ dispatch<any>(openApiClientAuthorizationAttributesDialog(resources[0].uuid));
},
},
{
name: "API Details",
icon: AdvancedIcon,
execute: (dispatch, resources) => {
},
},
{
name: "API Details",
icon: AdvancedIcon,
execute: (dispatch, resources) => {
- for (const resource of [...resources]) {
- dispatch<any>(openAdvancedTabDialog(resource.uuid));
- }
+ dispatch<any>(openAdvancedTabDialog(resources[0].uuid));
},
},
{
name: "Remove",
icon: RemoveIcon,
execute: (dispatch, resources) => {
},
},
{
name: "Remove",
icon: RemoveIcon,
execute: (dispatch, resources) => {
- for (const resource of [...resources]) {
- dispatch<any>(openApiClientAuthorizationRemoveDialog(resource.uuid));
- }
+ dispatch<any>(openApiClientAuthorizationRemoveDialog(resources[0].uuid));
},
},
],
},
},
],