mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 20:13:25 +08:00
changed var to const 2 (#13068)
* changed var to const * fixed typo created in last commit * added or empty object to options in prometheus/datasource
This commit is contained in:

committed by
Torkel Ödegaard

parent
5e0d0c5816
commit
a702603e7b
@ -4,7 +4,7 @@ export default class ResponseParser {
|
||||
constructor(private $q) {}
|
||||
|
||||
processQueryResult(res) {
|
||||
var data = [];
|
||||
const data = [];
|
||||
|
||||
if (!res.data.results) {
|
||||
return { data: data };
|
||||
|
Reference in New Issue
Block a user