From: Wouter Admiraal Date: Mon, 21 Aug 2023 14:46:45 +0000 (+0200) Subject: SONAR-20023 Don't show 'effort' twice in issue header meta X-Git-Tag: 10.2.0.77647~148 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7d665c2c36a19375e4e10056f1281371d9bf7c19;p=sonarqube.git SONAR-20023 Don't show 'effort' twice in issue header meta --- diff --git a/server/sonar-web/src/main/js/apps/issues/components/IssueHeaderMeta.tsx b/server/sonar-web/src/main/js/apps/issues/components/IssueHeaderMeta.tsx index 72b27214348..bc8d98d5d16 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/IssueHeaderMeta.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/IssueHeaderMeta.tsx @@ -22,7 +22,7 @@ import { BasicSeparator, LightLabel, themeBorder, Tooltip } from 'design-system' import React from 'react'; import DateFromNow from '../../../components/intl/DateFromNow'; import IssueTags from '../../../components/issue/components/IssueTags'; -import { translate, translateWithParameters } from '../../../helpers/l10n'; +import { translate } from '../../../helpers/l10n'; import { Issue } from '../../../types/types'; interface Props { @@ -65,9 +65,7 @@ export default function IssueHeaderMeta(props: Props) { {issue.effort && ( <> - - {translateWithParameters('issue.x_effort', issue.effort)} - + {issue.effort} {separator} )}