aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/overview/main
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-05-18 16:37:43 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-05-18 16:37:51 +0200
commit4b0f37fe3680359d0caa6cdf90580e700018769c (patch)
tree257352fa9e528c5345ce613d508a7c3cdeccd080 /server/sonar-web/src/main/js/apps/overview/main
parentaf627f4100e346f6e3d8cea1992e6311ceb13288 (diff)
downloadsonarqube-4b0f37fe3680359d0caa6cdf90580e700018769c.tar.gz
sonarqube-4b0f37fe3680359d0caa6cdf90580e700018769c.zip
fix domain headers on the overview page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/main')
-rw-r--r--server/sonar-web/src/main/js/apps/overview/main/Size.js2
-rw-r--r--server/sonar-web/src/main/js/apps/overview/main/enhance.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/main/Size.js b/server/sonar-web/src/main/js/apps/overview/main/Size.js
index e8f5f1e433c..8329f8e7a6a 100644
--- a/server/sonar-web/src/main/js/apps/overview/main/Size.js
+++ b/server/sonar-web/src/main/js/apps/overview/main/Size.js
@@ -27,7 +27,7 @@ class Size extends React.Component {
renderHeader () {
return this.props.renderHeader(
'Size',
- translate('overview.domain.structure'));
+ translate('overview.domain.size'));
}
renderTimeline (range) {
diff --git a/server/sonar-web/src/main/js/apps/overview/main/enhance.js b/server/sonar-web/src/main/js/apps/overview/main/enhance.js
index 280a9dc799b..7bb01d0d98c 100644
--- a/server/sonar-web/src/main/js/apps/overview/main/enhance.js
+++ b/server/sonar-web/src/main/js/apps/overview/main/enhance.js
@@ -56,12 +56,12 @@ export default function enhance (ComposedComponent) {
measure.value;
}
- renderHeader (label, domain) {
+ renderHeader (domain, label) {
const { component } = this.props;
const domainUrl =
window.baseUrl +
`/component_measures/domain/${domain}` +
- `id=${encodeURIComponent(component.key)}`;
+ `?id=${encodeURIComponent(component.key)}`;
return (
<div className="overview-card-header">