diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2020-01-03 13:44:12 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2020-01-08 20:46:11 +0100 |
commit | 279deef3e8534bba914245ccf10610a459073640 (patch) | |
tree | 22cfcf63ecee905641dfd3bc76043c0cfb2843f1 /server/sonar-web/src/main/js/apps/system/components | |
parent | 3365182508367bfcc080452d7cf932f9cfbf8c1b (diff) | |
download | sonarqube-279deef3e8534bba914245ccf10610a459073640.tar.gz sonarqube-279deef3e8534bba914245ccf10610a459073640.zip |
SONAR-12429 Fix 404 when opening embedded documentation in new tab
Cherry-pick of SC-1304
Diffstat (limited to 'server/sonar-web/src/main/js/apps/system/components')
-rw-r--r-- | server/sonar-web/src/main/js/apps/system/components/App.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/system/components/App.tsx b/server/sonar-web/src/main/js/apps/system/components/App.tsx index 5f9a69f9d8c..205c98c0e1c 100644 --- a/server/sonar-web/src/main/js/apps/system/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/system/components/App.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import * as React from 'react'; -import Helmet from 'react-helmet'; +import { Helmet } from 'react-helmet-async'; import { withRouter, WithRouterProps } from 'react-router'; import { translate } from 'sonar-ui-common/helpers/l10n'; import { getSystemInfo } from '../../../api/system'; @@ -121,7 +121,7 @@ class App extends React.PureComponent<Props, State> { return ( <div className="page page-limited"> <Suggestions suggestions="system_info" /> - <Helmet title={translate('system_info.page')} /> + <Helmet defer={false} title={translate('system_info.page')} /> <SystemUpgradeNotif /> {sysInfoData && ( <PageHeader |