aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/queries/branch.tsx
diff options
context:
space:
mode:
authorViktor Vorona <viktor.vorona@sonarsource.com>2024-04-23 14:47:22 +0200
committerMatteo Mara <matteo.mara@sonarsource.com>2024-04-30 10:59:03 +0200
commita5599ff112362c822a669d965c6a9fc85d633e37 (patch)
tree0adf85450226f7c7882f6066fedd8bed2203d720 /server/sonar-web/src/main/js/queries/branch.tsx
parent5c472713af0075201739c2e50663eefa01464fd6 (diff)
downloadsonarqube-a5599ff112362c822a669d965c6a9fc85d633e37.tar.gz
sonarqube-a5599ff112362c822a669d965c6a9fc85d633e37.zip
SONAR-22049 Align branch-like helper
Diffstat (limited to 'server/sonar-web/src/main/js/queries/branch.tsx')
-rw-r--r--server/sonar-web/src/main/js/queries/branch.tsx3
1 files changed, 2 insertions, 1 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';