diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-07-19 16:56:38 +0200 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-07-21 16:14:07 +0200 |
commit | dccf95202c171899a045fd414f256e7ca22dadc2 (patch) | |
tree | 227b88cd5532313dd9bc21b4b99de71909b58f65 /server/sonar-web/src/main/js/app/utils/startReactApp.js | |
parent | 04d40d224374526638084d837c6c30819463b511 (diff) | |
download | sonarqube-dccf95202c171899a045fd414f256e7ca22dadc2.tar.gz sonarqube-dccf95202c171899a045fd414f256e7ca22dadc2.zip |
SONAR-9583 Use fixed width layout for navigation
Diffstat (limited to 'server/sonar-web/src/main/js/app/utils/startReactApp.js')
-rw-r--r-- | server/sonar-web/src/main/js/app/utils/startReactApp.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/app/utils/startReactApp.js b/server/sonar-web/src/main/js/app/utils/startReactApp.js index 18f4ba69ed7..41779d0b4ab 100644 --- a/server/sonar-web/src/main/js/app/utils/startReactApp.js +++ b/server/sonar-web/src/main/js/app/utils/startReactApp.js @@ -29,7 +29,6 @@ import GlobalContainer from '../components/GlobalContainer'; import SimpleContainer from '../components/SimpleContainer'; import SimpleSessionsContainer from '../../apps/sessions/components/SimpleSessionsContainer'; import Landing from '../components/Landing'; -import ProjectContainer from '../components/ProjectContainer'; import ProjectAdminContainer from '../components/ProjectAdminContainer'; import ProjectPageExtension from '../components/extensions/ProjectPageExtension'; import ProjectAdminPageExtension from '../components/extensions/ProjectAdminPageExtension'; @@ -165,7 +164,9 @@ const startReactApp = () => { <Route path="profiles" childRoutes={qualityProfilesRoutes} /> <Route path="web_api" childRoutes={webAPIRoutes} /> - <Route component={ProjectContainer}> + <Route + getComponent={() => + import('../components/ProjectContainer').then(i => i.default)}> <Route path="code" childRoutes={codeRoutes} /> <Route path="component_measures" childRoutes={componentMeasuresRoutes} /> <Route path="custom_measures" childRoutes={customMeasuresRoutes} /> |