aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/utils/startReactApp.js
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2017-09-15 15:00:45 +0200
committerTeryk Bellahsene <teryk@users.noreply.github.com>2017-09-20 09:15:23 +0200
commit15705813665581d67d67bff133d31d235dd16535 (patch)
treebbe2d5d6be6eeffdc667bab66e584b0f24c851e3 /server/sonar-web/src/main/js/app/utils/startReactApp.js
parent4c2dafad1f82d5a79a061335908ca0e7ea80b6ee (diff)
downloadsonarqube-15705813665581d67d67bff133d31d235dd16535.tar.gz
sonarqube-15705813665581d67d67bff133d31d235dd16535.zip
SONAR-9812 display activity page for portfolios (#2510)
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.js5
1 files changed, 2 insertions, 3 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 15d742e3730..b6577565efd 100644
--- a/server/sonar-web/src/main/js/app/utils/startReactApp.js
+++ b/server/sonar-web/src/main/js/app/utils/startReactApp.js
@@ -32,7 +32,6 @@ import Landing from '../components/Landing';
import ProjectAdminContainer from '../components/ProjectAdminContainer';
import ProjectPageExtension from '../components/extensions/ProjectPageExtension';
import ProjectAdminPageExtension from '../components/extensions/ProjectAdminPageExtension';
-import PortfolioDashboard from '../components/extensions/PortfolioDashboard';
import PortfoliosPage from '../components/extensions/PortfoliosPage';
import AdminContainer from '../components/AdminContainer';
import GlobalPageExtension from '../components/extensions/GlobalPageExtension';
@@ -53,6 +52,7 @@ import metricsRoutes from '../../apps/metrics/routes';
import overviewRoutes from '../../apps/overview/routes';
import organizationsRoutes from '../../apps/organizations/routes';
import permissionTemplatesRoutes from '../../apps/permission-templates/routes';
+import portfolioRoutes from '../../apps/portfolio/routes';
import projectActivityRoutes from '../../apps/projectActivity/routes';
import projectAdminRoutes from '../../apps/project-admin/routes';
import projectBranchesRoutes from '../../apps/projectBranches/routes';
@@ -125,7 +125,6 @@ const startReactApp = () => {
<Redirect from="/dashboard/index" to="/dashboard" />
<Redirect from="/governance" to="/portfolio" />
<Redirect from="/groups" to="/admin/groups" />
- <Redirect from="/extension/governance/governance" to="/portfolio" />
<Redirect from="/extension/governance/portfolios" to="/portfolios" />
<Redirect from="/metrics" to="/admin/custom_metrics" />
<Redirect from="/permission_templates" to="/admin/permission_templates" />
@@ -189,7 +188,7 @@ const startReactApp = () => {
<Route path="code" childRoutes={codeRoutes} />
<Route path="component_measures" childRoutes={componentMeasuresRoutes} />
<Route path="dashboard" childRoutes={overviewRoutes} />
- <Route path="portfolio" component={PortfolioDashboard} />
+ <Route path="portfolio" childRoutes={portfolioRoutes} />
<Route path="project/activity" childRoutes={projectActivityRoutes} />
<Route
path="project/extension/:pluginKey/:extensionKey"