]> source.dussan.org Git - sonarqube.git/commitdiff
fix displaying of project-level settings page
authorStas Vilchik <vilchiks@gmail.com>
Tue, 6 Sep 2016 15:19:53 +0000 (17:19 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 6 Sep 2016 15:19:53 +0000 (17:19 +0200)
server/sonar-web/src/main/js/apps/settings/app.js

index 51c70703f9d7d4a5f4c04904d9b3ccb8760c2bb4..02e7181d253fbaa086077196958ececf6df5e79e 100644 (file)
@@ -45,9 +45,7 @@ window.sonarqube.appStarted.then(options => {
         <Router history={history}>
           <Redirect from="/index" to="/"/>
           <Route path="/" component={withComponent(App)}/>
-          {options.component == null && (
-              <Route path="/licenses" component={LicensesApp}/>
-          )}
+          <Route path="/licenses" component={LicensesApp}/>
         </Router>
       </Provider>
   ), el);