aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/utils/startReactApp.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/utils/startReactApp.tsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
index 721abda0ba5..3b224a1b3e5 100644
--- a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
+++ b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
@@ -232,10 +232,12 @@ export default function startReactApp(
childRoutes={projectQualityProfilesRoutes}
/>
<Route component={lazyLoad(() => import('../components/ProjectAdminContainer'))}>
- <RouteWithChildRoutes
- path="custom_measures"
- childRoutes={customMeasuresRoutes}
- />
+ {!isSonarCloud() && (
+ <RouteWithChildRoutes
+ path="custom_measures"
+ childRoutes={customMeasuresRoutes}
+ />
+ )}
<Route
path="project/admin/extension/:pluginKey/:extensionKey"
component={lazyLoad(() =>