mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge branch 'influx-db-query2' of https://github.com/ryantxu/grafana into influx-db-query2
This commit is contained in:
commit
e8ad7805d8
@ -85,7 +85,7 @@ export default class InfluxDatasource {
|
|||||||
// replace templated variables
|
// replace templated variables
|
||||||
allQueries = this.templateSrv.replace(allQueries, scopedVars);
|
allQueries = this.templateSrv.replace(allQueries, scopedVars);
|
||||||
|
|
||||||
return this._seriesQuery(allQueries, options).then((data): any => {
|
return this._seriesQuery(allQueries, targets[0]).then((data): any => {
|
||||||
if (!data || !data.results) {
|
if (!data || !data.results) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user