diff options
author | Viktor Vorona <viktor.vorona@sonarsource.com> | 2024-04-23 14:47:22 +0200 |
---|---|---|
committer | Matteo Mara <matteo.mara@sonarsource.com> | 2024-04-30 10:59:03 +0200 |
commit | a5599ff112362c822a669d965c6a9fc85d633e37 (patch) | |
tree | 0adf85450226f7c7882f6066fedd8bed2203d720 /server/sonar-web/src/main/js/apps/component-measures/utils.ts | |
parent | 5c472713af0075201739c2e50663eefa01464fd6 (diff) | |
download | sonarqube-a5599ff112362c822a669d965c6a9fc85d633e37.tar.gz sonarqube-a5599ff112362c822a669d965c6a9fc85d633e37.zip |
SONAR-22049 Align branch-like helper
Diffstat (limited to 'server/sonar-web/src/main/js/apps/component-measures/utils.ts')
-rw-r--r-- | server/sonar-web/src/main/js/apps/component-measures/utils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-measures/utils.ts b/server/sonar-web/src/main/js/apps/component-measures/utils.ts index 558ad1bf8fa..6e0211e3177 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/utils.ts +++ b/server/sonar-web/src/main/js/apps/component-measures/utils.ts @@ -19,7 +19,7 @@ */ import { groupBy, memoize, sortBy, toPairs } from 'lodash'; import { enhanceMeasure } from '../../components/measure/utils'; -import { isBranch, isPullRequest } from '../../helpers/branch-like'; +import { isPullRequest } from '../../helpers/branch-like'; import { CCT_SOFTWARE_QUALITY_METRICS, HIDDEN_METRICS, @@ -42,6 +42,7 @@ import { parseAsString, serializeString, } from '../../helpers/query'; +import { isBranch } from '../../sonar-aligned/helpers/branch-like'; import { BranchLike } from '../../types/branch-like'; import { ComponentQualifier } from '../../types/component'; import { Domain, MeasurePageView } from '../../types/measures'; |