aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/handlebars/eachChanged.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/eachChanged.js')
-rw-r--r--server/sonar-web/src/main/js/helpers/handlebars/eachChanged.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/eachChanged.js b/server/sonar-web/src/main/js/helpers/handlebars/eachChanged.js
index 9c415b1dfca..c2c90e109e1 100644
--- a/server/sonar-web/src/main/js/helpers/handlebars/eachChanged.js
+++ b/server/sonar-web/src/main/js/helpers/handlebars/eachChanged.js
@@ -21,7 +21,7 @@ import _ from 'underscore';
module.exports = function (context, property, options) {
let ret = '';
- context.forEach(function (d, i) {
+ context.forEach((d, i) => {
const changed = i > 0 ? d[property] !== context[i - 1][property] : true;
const c = _.extend({ changed }, d);
ret += options.fn(c);