aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/utils
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2018-12-19 15:28:21 +0100
committerSonarTech <sonartech@sonarsource.com>2019-01-18 20:21:02 +0100
commit5c110414621fcfb2db1083f76ff09c4b6364757f (patch)
treee4093ebbf1a8402f4e60c4c1eb8839b2a70a5f4a /server/sonar-web/src/main/js/app/utils
parent0d3ba8c8aa4c29e46e9a687f42590ffda3fb348f (diff)
downloadsonarqube-5c110414621fcfb2db1083f76ff09c4b6364757f.tar.gz
sonarqube-5c110414621fcfb2db1083f76ff09c4b6364757f.zip
SONARCLOUD-329 Create downgrade reason page
Diffstat (limited to 'server/sonar-web/src/main/js/app/utils')
-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} />