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:
@@ -61,7 +61,7 @@ const rangeOptions = [
|
||||
const absoluteFormat = 'MMM D, YYYY HH:mm:ss';
|
||||
|
||||
const rangeIndex = {};
|
||||
_.each(rangeOptions, function(frame) {
|
||||
_.each(rangeOptions, frame => {
|
||||
rangeIndex[frame.from + ' to ' + frame.to] = frame;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user