]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19018 Link pull request overview tooltip is missleading
authorstanislavh <stanislav.honcharov@sonarsource.com>
Fri, 5 May 2023 10:09:40 +0000 (12:09 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 5 May 2023 20:03:00 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx

index 2a2ce4b34d0164d93022a56ee5f6b8186971af00..f9aa31887e95e981c93bd551b91b44ce3db7cff6 100644 (file)
@@ -42,7 +42,7 @@ import { getBranchLikeQuery } from '../../../helpers/branch-like';
 import { translate } from '../../../helpers/l10n';
 import { enhanceConditionWithMeasure, enhanceMeasuresWithMetrics } from '../../../helpers/measures';
 import { isDefined } from '../../../helpers/types';
-import { getQualityGateUrl, getQualityGatesUrl } from '../../../helpers/urls';
+import { getQualityGatesUrl, getQualityGateUrl } from '../../../helpers/urls';
 import { BranchStatusData, PullRequest } from '../../../types/branch-like';
 import { IssueType } from '../../../types/issues';
 import { Component, MeasureEnhanced } from '../../../types/types';
@@ -199,7 +199,7 @@ export class PullRequestOverview extends React.PureComponent<Props, State> {
                         defaultMessage={translate('overview.quality_gate.conditions_on_new_code')}
                         id="overview.quality_gate.conditions_on_new_code"
                         values={{
-                          link: <Link to={path}>{translate('overview.quality_gate.status')}</Link>,
+                          link: <Link to={path}>{translate('overview.quality_gate')}</Link>,
                         }}
                       />
                     }