From: stanislavh Date: Tue, 30 Jan 2024 16:22:38 +0000 (+0100) Subject: SONAR-21467 Fix duplication link targeting to coverage measures X-Git-Tag: 10.4.0.87286~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d437315cde120c3ab8bef3bb111217ade53a2e8;p=sonarqube.git SONAR-21467 Fix duplication link targeting to coverage measures --- diff --git a/server/sonar-web/src/main/js/apps/overview/branches/NewCodeMeasuresPanel.tsx b/server/sonar-web/src/main/js/apps/overview/branches/NewCodeMeasuresPanel.tsx index b7757bbfb07..61e5ae9854e 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/NewCodeMeasuresPanel.tsx +++ b/server/sonar-web/src/main/js/apps/overview/branches/NewCodeMeasuresPanel.tsx @@ -171,7 +171,7 @@ export default function NewCodeMeasuresPanel(props: Readonly) { label="overview.quality_gate.duplications" url={getComponentDrilldownUrl({ componentKey: component.key, - metric: getMeasurementMetricKey(MeasurementType.Coverage, true), + metric: getMeasurementMetricKey(MeasurementType.Duplication, true), branchLike: branch, listView: true, })}