mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Changed functions to arrow functions for only-arrow-functions rule.
This commit is contained in:
@@ -27,7 +27,7 @@ class PrometheusQueryCtrl extends QueryCtrl {
|
||||
target.format = target.format || this.getDefaultFormat();
|
||||
|
||||
this.metric = '';
|
||||
this.resolutions = _.map([1, 2, 3, 4, 5, 10], function(f) {
|
||||
this.resolutions = _.map([1, 2, 3, 4, 5, 10], f => {
|
||||
return { factor: f, label: '1/' + f };
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user