From: 7PH Date: Thu, 23 Mar 2023 09:21:46 +0000 (+0100) Subject: SONAR-18875 Fix missing label in admin webhook page, on setting opener menu button X-Git-Tag: 10.0.0.68432~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=71694b89f70bd97204bc22107c36301b1466223e;p=sonarqube.git SONAR-18875 Fix missing label in admin webhook page, on setting opener menu button --- diff --git a/server/sonar-web/src/main/js/apps/webhooks/components/WebhookActions.tsx b/server/sonar-web/src/main/js/apps/webhooks/components/WebhookActions.tsx index 4a97aa0b15c..622bd54f9cf 100644 --- a/server/sonar-web/src/main/js/apps/webhooks/components/WebhookActions.tsx +++ b/server/sonar-web/src/main/js/apps/webhooks/components/WebhookActions.tsx @@ -22,7 +22,7 @@ import ActionsDropdown, { ActionsDropdownDivider, ActionsDropdownItem, } from '../../../components/controls/ActionsDropdown'; -import { translate } from '../../../helpers/l10n'; +import { translate, translateWithParameters } from '../../../helpers/l10n'; import { Webhook } from '../../../types/webhook'; import CreateWebhookForm from './CreateWebhookForm'; import DeleteWebhookForm from './DeleteWebhookForm'; @@ -90,7 +90,10 @@ export default class WebhookActions extends React.PureComponent { const { webhook } = this.props; return ( <> - + {translate('update_verb')} diff --git a/server/sonar-web/src/main/js/apps/webhooks/components/__tests__/__snapshots__/WebhookActions-test.tsx.snap b/server/sonar-web/src/main/js/apps/webhooks/components/__tests__/__snapshots__/WebhookActions-test.tsx.snap index f5806c7f719..2ccca3f41fc 100644 --- a/server/sonar-web/src/main/js/apps/webhooks/components/__tests__/__snapshots__/WebhookActions-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/webhooks/components/__tests__/__snapshots__/WebhookActions-test.tsx.snap @@ -4,6 +4,7 @@ exports[`should display the deliveries form 1`] = `