aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorPascal Mugnier <pascal.mugnier@sonarsource.com>2018-05-01 15:35:59 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-03 20:20:49 +0200
commit51e5ed846a7db98e5fe3493aebad4a27b1d36459 (patch)
tree616d6140f2f08fec81fde37dc11195170d5a1f91 /server/sonar-web
parentc9f8e544ded8b8add74dc0d83dee9d9ae6be4da3 (diff)
downloadsonarqube-51e5ed846a7db98e5fe3493aebad4a27b1d36459.tar.gz
sonarqube-51e5ed846a7db98e5fe3493aebad4a27b1d36459.zip
Fix SONAR-10466
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx
index d8ba80576a0..19441b29218 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx
+++ b/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx
@@ -466,7 +466,9 @@ export default class App extends React.PureComponent<Props, State> {
return (
<>
- <Helmet title={translate('coding_rules.page')} />
+ <Helmet title={translate('coding_rules.page')}>
+ <meta content="noindex" name="robots" />
+ </Helmet>
<div className="layout-page" id="coding-rules-page">
<ScreenPositionHelper className="layout-page-side-outer">
{({ top }) => (
@@ -486,9 +488,9 @@ export default class App extends React.PureComponent<Props, State> {
facets={this.state.facets}
onFacetToggle={this.handleFacetToggle}
onFilterChange={this.handleFilterChange}
+ openFacets={this.state.openFacets}
organization={organization}
organizationsEnabled={this.context.organizationsEnabled}
- openFacets={this.state.openFacets}
query={this.state.query}
referencedProfiles={this.state.referencedProfiles}
referencedRepositories={this.state.referencedRepositories}