]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21259 Fix wrong after merge metric for duplicated lines in PR summary
authorstanislavh <stanislav.honcharov@sonarsource.com>
Tue, 19 Dec 2023 09:27:27 +0000 (10:27 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 19 Dec 2023 20:02:55 +0000 (20:02 +0000)
server/sonar-web/src/main/js/apps/overview/pullRequests/MeasuresCardPanel.tsx

index 68eb13cebb398baf09d433719e7f1156f9317cd9..5f116e4c8228ecff30a7260fd5fad98124387395 100644 (file)
@@ -116,7 +116,7 @@ export default function MeasuresCardPanel(props: React.PropsWithChildren<Props>)
           conditions={conditions}
           conditionMetric={MetricKey.new_duplicated_lines_density}
           newLinesMetric={MetricKey.new_lines}
-          afterMergeMetric={MetricKey.coverage}
+          afterMergeMetric={MetricKey.duplicated_lines_density}
           measures={measures}
         />
       </div>