aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js')
-rw-r--r--server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js b/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js
index a931d6e8836..a01d69b0f85 100644
--- a/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js
+++ b/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js
@@ -134,13 +134,13 @@ export default ModalView.extend({
prepareMetrics (metrics) {
metrics = metrics.filter(metric => metric.value != null);
return sortBy(
- toPairs(groupBy(metrics, 'domain')).map(domain => {
- return {
- name: domain[0],
- metrics: domain[1]
- };
- }),
- 'name'
+ toPairs(groupBy(metrics, 'domain')).map(domain => {
+ return {
+ name: domain[0],
+ metrics: domain[1]
+ };
+ }),
+ 'name'
);
},