From: stanislavh Date: Tue, 19 Dec 2023 09:27:27 +0000 (+0100) Subject: SONAR-21259 Fix wrong after merge metric for duplicated lines in PR summary X-Git-Tag: 10.4.0.87286~305 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=66a3612e8b46c4dd6319899a993434968445d3eb;p=sonarqube.git SONAR-21259 Fix wrong after merge metric for duplicated lines in PR summary --- diff --git a/server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardPanel.tsx b/server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardPanel.tsx index 68eb13cebb3..5f116e4c822 100644 --- a/server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardPanel.tsx +++ b/server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardPanel.tsx @@ -116,7 +116,7 @@ export default function MeasuresCardPanel(props: React.PropsWithChildren) conditions={conditions} conditionMetric={MetricKey.new_duplicated_lines_density} newLinesMetric={MetricKey.new_lines} - afterMergeMetric={MetricKey.coverage} + afterMergeMetric={MetricKey.duplicated_lines_density} measures={measures} />