aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-05-09 15:43:19 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-05-10 11:56:20 +0200
commit9821488bd9e3f764dc4f3a7fdd4beda93e870254 (patch)
tree493e62164676d84fc491b1c9421d1ae0d20100c9 /server/sonar-web/src/main/js/apps/issues
parenta6f37fa019f167563152670e3812efb383c4eeb2 (diff)
downloadsonarqube-9821488bd9e3f764dc4f3a7fdd4beda93e870254.tar.gz
sonarqube-9821488bd9e3f764dc4f3a7fdd4beda93e870254.zip
SONAR-8369 SONAR-8722 Sanitize page titles
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/components/App.js5
-rw-r--r--server/sonar-web/src/main/js/apps/issues/utils.js1
2 files changed, 2 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/App.js b/server/sonar-web/src/main/js/apps/issues/components/App.js
index a91ef8ea68f..4a9dca21d04 100644
--- a/server/sonar-web/src/main/js/apps/issues/components/App.js
+++ b/server/sonar-web/src/main/js/apps/issues/components/App.js
@@ -793,16 +793,13 @@ export default class App extends React.PureComponent {
</div>
);
}
-
render() {
const { component } = this.props;
const { openIssue, paging } = this.state;
-
const selectedIndex = this.getSelectedIndex();
-
return (
<div className="layout-page issues" id="issues-page">
- <Helmet title={translate('issues.page')} titleTemplate="%s - SonarQube" />
+ <Helmet title={translate('issues.page')} />
{this.renderSide(openIssue)}
diff --git a/server/sonar-web/src/main/js/apps/issues/utils.js b/server/sonar-web/src/main/js/apps/issues/utils.js
index 140aea14e25..d33defd8135 100644
--- a/server/sonar-web/src/main/js/apps/issues/utils.js
+++ b/server/sonar-web/src/main/js/apps/issues/utils.js
@@ -217,6 +217,7 @@ export type ReferencedLanguage = {
export type Component = {
key: string,
+ name: string,
organization: string,
qualifier: string
};