diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-09-05 11:00:00 +0200 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-09-11 11:28:29 +0200 |
commit | 71fec25c4056c1dcfe75769c2041b1d56a89a2e5 (patch) | |
tree | e640a76709b242652d3cc274a9d0a98f720ae768 /server/sonar-web/src/main/js/app/components | |
parent | 0926670e79d919e0afa3f0a2e11f656bdcd05916 (diff) | |
download | sonarqube-71fec25c4056c1dcfe75769c2041b1d56a89a2e5.tar.gz sonarqube-71fec25c4056c1dcfe75769c2041b1d56a89a2e5.zip |
SONAR-9784 rewrite projects management page
Diffstat (limited to 'server/sonar-web/src/main/js/app/components')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.js | 4 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/app/components/nav/settings/__tests__/__snapshots__/SettingsNav-test.js.snap | 2 |
2 files changed, 3 insertions, 3 deletions
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 { <ul className="dropdown-menu"> {!this.props.customOrganizations && <li> - <IndexLink to="/projects_admin" activeClassName="active"> + <IndexLink to="/admin/projects_management" activeClassName="active"> Management </IndexLink> </li>} diff --git a/server/sonar-web/src/main/js/app/components/nav/settings/__tests__/__snapshots__/SettingsNav-test.js.snap b/server/sonar-web/src/main/js/app/components/nav/settings/__tests__/__snapshots__/SettingsNav-test.js.snap index 7f285d4906c..c66d4b28859 100644 --- a/server/sonar-web/src/main/js/app/components/nav/settings/__tests__/__snapshots__/SettingsNav-test.js.snap +++ b/server/sonar-web/src/main/js/app/components/nav/settings/__tests__/__snapshots__/SettingsNav-test.js.snap @@ -154,7 +154,7 @@ exports[`should work with extensions 1`] = ` <li> <IndexLink activeClassName="active" - to="/projects_admin" + to="/admin/projects_management" > Management </IndexLink> |