diff options
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx | 8 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/about/components/__tests__/__snapshots__/AboutApp-test.tsx.snap | 10 |
2 files changed, 7 insertions, 11 deletions
diff --git a/server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx b/server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx index b29f0a2edb2..f404aff339c 100644 --- a/server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx +++ b/server/sonar-web/src/main/js/apps/about/components/AboutApp.tsx @@ -136,13 +136,9 @@ export class AboutApp extends React.PureComponent<Props, State> { {translate('layout.login')} </Link> )} - <a - className="button" - href="https://redirect.sonarsource.com/doc/home.html" - rel="noopener noreferrer" - target="_blank"> + <Link className="button" to="/documentation"> {translate('about_page.read_documentation')} - </a> + </Link> </div> <div className="about-page-instance"> diff --git a/server/sonar-web/src/main/js/apps/about/components/__tests__/__snapshots__/AboutApp-test.tsx.snap b/server/sonar-web/src/main/js/apps/about/components/__tests__/__snapshots__/AboutApp-test.tsx.snap index a7785c97c98..f1fe792370d 100644 --- a/server/sonar-web/src/main/js/apps/about/components/__tests__/__snapshots__/AboutApp-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/about/components/__tests__/__snapshots__/AboutApp-test.tsx.snap @@ -40,14 +40,14 @@ exports[`should render correctly 1`] = ` > layout.login </Link> - <a + <Link className="button" - href="https://redirect.sonarsource.com/doc/home.html" - rel="noopener noreferrer" - target="_blank" + onlyActiveOnIndex={false} + style={Object {}} + to="/documentation" > about_page.read_documentation - </a> + </Link> </div> <div className="about-page-instance" |