From 71fec25c4056c1dcfe75769c2041b1d56a89a2e5 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 5 Sep 2017 11:00:00 +0200 Subject: SONAR-9784 rewrite projects management page --- .../js/app/components/nav/settings/SettingsNav.js | 4 +- .../__snapshots__/SettingsNav-test.js.snap | 2 +- server/sonar-web/src/main/js/app/types.ts | 120 +++++++++++++++++++++ .../src/main/js/app/utils/startReactApp.js | 8 +- 4 files changed, 129 insertions(+), 5 deletions(-) create mode 100644 server/sonar-web/src/main/js/app/types.ts (limited to 'server/sonar-web/src/main/js/app') diff --git a/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.js b/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.js index 21540b25a99..903de6c74ea 100644 --- a/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.js +++ b/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.js @@ -42,7 +42,7 @@ class SettingsNav extends React.PureComponent { } isProjectsActive() { - const urls = ['/projects_admin', '/background_tasks']; + const urls = ['/admin/projects_management', '/background_tasks']; return this.isSomethingActive(urls); } @@ -158,7 +158,7 @@ class SettingsNav extends React.PureComponent {