]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21467 Fix duplication link targeting to coverage measures
authorstanislavh <stanislav.honcharov@sonarsource.com>
Tue, 30 Jan 2024 16:22:38 +0000 (17:22 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 30 Jan 2024 20:03:01 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/overview/branches/NewCodeMeasuresPanel.tsx

index b7757bbfb076e55d21f7dd2debd7b7efae44c80d..61e5ae9854e10fee1cfb365e91b3695bc075ac94 100644 (file)
@@ -171,7 +171,7 @@ export default function NewCodeMeasuresPanel(props: Readonly<Props>) {
           label="overview.quality_gate.duplications"
           url={getComponentDrilldownUrl({
             componentKey: component.key,
-            metric: getMeasurementMetricKey(MeasurementType.Coverage, true),
+            metric: getMeasurementMetricKey(MeasurementType.Duplication, true),
             branchLike: branch,
             listView: true,
           })}