mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
changed var to let in 50 files (#13075)
This commit is contained in:
committed by
Torkel Ödegaard
parent
b494a29e02
commit
552a61b6ae
@@ -25,7 +25,7 @@ export class AnnotationsSrv {
|
||||
.all([this.getGlobalAnnotations(options), this.getAlertStates(options)])
|
||||
.then(results => {
|
||||
// combine the annotations and flatten results
|
||||
var annotations = _.flattenDeep(results[0]);
|
||||
let annotations = _.flattenDeep(results[0]);
|
||||
|
||||
// filter out annotations that do not belong to requesting panel
|
||||
annotations = _.filter(annotations, item => {
|
||||
|
||||
Reference in New Issue
Block a user