diff options
author | Mathieu Suen <mathieu.suen@sonarsource.com> | 2024-04-16 15:20:18 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-04-16 20:02:44 +0000 |
commit | b8f959ecaf94a654de1131e7817f15649b5a5589 (patch) | |
tree | 35c7dbaee0f56c0eb407cd4307fffea42efa0a33 /server | |
parent | 86ff4b78dbe552b4bd9cb1c91697b83cb10b7bcd (diff) | |
download | sonarqube-b8f959ecaf94a654de1131e7817f15649b5a5589.tar.gz sonarqube-b8f959ecaf94a654de1131e7817f15649b5a5589.zip |
SONAR-21872 Fix line of code measure in the branch overview
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/branches/BranchMetaTopBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/branches/BranchMetaTopBar.tsx b/server/sonar-web/src/main/js/apps/overview/branches/BranchMetaTopBar.tsx index d40efb4446b..ab91aa2661c 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/BranchMetaTopBar.tsx +++ b/server/sonar-web/src/main/js/apps/overview/branches/BranchMetaTopBar.tsx @@ -39,7 +39,7 @@ export default function BranchMetaTopBar({ branch, measures, component }: Readon const intl = useIntl(); const currentPage = getCurrentPage(component, branch) as HomePage; - const locMeasure = findMeasure(measures, MetricKey.lines); + const locMeasure = findMeasure(measures, MetricKey.ncloc); const leftSection = ( <h1 className="sw-flex sw-gap-2 sw-items-center sw-heading-md">{branch.name}</h1> |