diff options
Diffstat (limited to 'server/sonar-web/src/main/js/queries')
-rw-r--r-- | server/sonar-web/src/main/js/queries/branch.tsx | 3 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/queries/project-analyses.ts | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/queries/branch.tsx b/server/sonar-web/src/main/js/queries/branch.tsx index 07ebdebf426..68cef8ddef5 100644 --- a/server/sonar-web/src/main/js/queries/branch.tsx +++ b/server/sonar-web/src/main/js/queries/branch.tsx @@ -35,9 +35,10 @@ import { dismissAnalysisWarning, getAnalysisStatus } from '../api/ce'; import { getQualityGateProjectStatus } from '../api/quality-gates'; import { AvailableFeaturesContext } from '../app/components/available-features/AvailableFeaturesContext'; import { useLocation } from '../components/hoc/withRouter'; -import { isBranch, isPullRequest } from '../helpers/branch-like'; +import { isPullRequest } from '../helpers/branch-like'; import { extractStatusConditionsFromProjectStatus } from '../helpers/qualityGates'; import { searchParamsToQuery } from '../helpers/urls'; +import { isBranch } from '../sonar-aligned/helpers/branch-like'; import { Branch, BranchLike } from '../types/branch-like'; import { isApplication, isPortfolioLike, isProject } from '../types/component'; import { Feature } from '../types/features'; diff --git a/server/sonar-web/src/main/js/queries/project-analyses.ts b/server/sonar-web/src/main/js/queries/project-analyses.ts index 7365b156ea1..1dadbe71e90 100644 --- a/server/sonar-web/src/main/js/queries/project-analyses.ts +++ b/server/sonar-web/src/main/js/queries/project-analyses.ts @@ -32,9 +32,9 @@ import { useComponent, useTopLevelComponentKey, } from '../app/components/componentContext/withComponentContext'; -import { getBranchLikeQuery } from '../helpers/branch-like'; import { parseDate } from '../helpers/dates'; import { serializeStringArray } from '../helpers/query'; +import { getBranchLikeQuery } from '../sonar-aligned/helpers/branch-like'; import { BranchParameters } from '../types/branch-like'; import { ParsedAnalysis } from '../types/project-activity'; import { useBranchesQuery } from './branch'; |