diff options
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> |