From b49d31f810e127b2928b1378d9702fb5110021b1 Mon Sep 17 00:00:00 2001 From: Hector Alfaro Date: Wed, 11 Sep 2024 12:26:37 -0400 Subject: [PATCH] Allow screenreader to read the status of the action type in Webhooks (#52264) --- src/webhooks/components/Webhook.tsx | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/src/webhooks/components/Webhook.tsx b/src/webhooks/components/Webhook.tsx index 417ebea8b6cf..0d58241e3c01 100644 --- a/src/webhooks/components/Webhook.tsx +++ b/src/webhooks/components/Webhook.tsx @@ -167,25 +167,20 @@ export function Webhook({ webhook }: Props) {
- + {t('action_type')}: {currentWebhookActionType} - {webhook.actionTypes.map((type, index) => { - return ( - handleActionTypeChange(type, index)} - > - {type} - - ) - })} + {webhook.actionTypes.map((type, index) => ( + handleActionTypeChange(type, index)} + > + {type} + + ))}