aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectDump
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectDump')
-rw-r--r--server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap18
2 files changed, 20 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx b/server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx
index c168c6944ac..9e67eeeca00 100644
--- a/server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx
+++ b/server/sonar-web/src/main/js/apps/projectDump/ProjectDumpApp.tsx
@@ -18,6 +18,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import * as React from 'react';
+import { Helmet } from 'react-helmet-async';
import { getActivity } from '../../api/ce';
import { getStatus } from '../../api/project-dump';
import withAvailableFeatures, {
@@ -158,6 +159,7 @@ export class ProjectDumpApp extends React.Component<Props, State> {
return (
<div className="page page-limited" id="project-dump">
+ <Helmet defer={false} title={translate('project_dump.page')} />
<header className="page-header">
<h1 className="page-title">{translate('project_dump.page')}</h1>
<div className="page-description">
diff --git a/server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap
index e176282cfa9..caba04a83e9 100644
--- a/server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/projectDump/__tests__/__snapshots__/ProjectDumpApp-test.tsx.snap
@@ -5,6 +5,12 @@ exports[`should render correctly: loaded 1`] = `
className="page page-limited"
id="project-dump"
>
+ <Helmet
+ defer={false}
+ encodeSpecialCharacters={true}
+ prioritizeSeoTags={false}
+ title="project_dump.page"
+ />
<header
className="page-header"
>
@@ -74,6 +80,12 @@ exports[`should render correctly: loaded without import 1`] = `
className="page page-limited"
id="project-dump"
>
+ <Helmet
+ defer={false}
+ encodeSpecialCharacters={true}
+ prioritizeSeoTags={false}
+ title="project_dump.page"
+ />
<header
className="page-header"
>
@@ -119,6 +131,12 @@ exports[`should render correctly: loading 1`] = `
className="page page-limited"
id="project-dump"
>
+ <Helmet
+ defer={false}
+ encodeSpecialCharacters={true}
+ prioritizeSeoTags={false}
+ title="project_dump.page"
+ />
<header
className="page-header"
>