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.tsx20
1 files changed, 14 insertions, 6 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 dca733a3587..9af3dc05144 100644
--- a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
+++ b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
@@ -183,12 +183,20 @@ export default function startReactApp(
<Route path="issues" component={IssuesPageSelector} />
<RouteWithChildRoutes path="onboarding" childRoutes={onboardingRoutes} />
{isSonarCloud() && (
- <Route
- path="create-organization"
- component={lazyLoad(() =>
- import('../../apps/create/organization/CreateOrganization')
- )}
- />
+ <>
+ <Route
+ path="create-organization"
+ component={lazyLoad(() =>
+ import('../../apps/create/organization/CreateOrganization')
+ )}
+ />
+ <Route
+ path="feedback/downgrade"
+ component={lazyLoad(() =>
+ import('../../apps/feedback/downgrade/DowngradeFeedback')
+ )}
+ />
+ </>
)}
<RouteWithChildRoutes path="organizations" childRoutes={organizationsRoutes} />
<RouteWithChildRoutes path="projects" childRoutes={projectsRoutes} />