diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profiles-view.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profiles-view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profiles-view.js b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profiles-view.js index e3abef640bf..625dd58fcb2 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profiles-view.js +++ b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-profiles-view.js @@ -61,7 +61,7 @@ export default Marionette.CompositeView.extend({ collection: this.collection, app: this.options.app }); - activationView.on('profileActivated', function (severity, params, profile) { + activationView.on('profileActivated', (severity, params, profile) => { if (that.options.app.state.get('query').qprofile === profile) { const activation = { severity, @@ -78,7 +78,7 @@ export default Marionette.CompositeView.extend({ refreshActives () { const that = this; - this.options.app.controller.getRuleDetails(this.model).done(function (data) { + this.options.app.controller.getRuleDetails(this.model).done(data => { that.collection.reset(that.model.getInactiveProfiles(data.actives, that.options.app.qualityProfiles)); }); }, |