Merge branch 'influx-db-query2' of https://github.com/ryantxu/grafana into influx-db-query2

This commit is contained in:
ryan 2017-04-27 09:38:16 -07:00
commit e8ad7805d8

View File

@ -85,7 +85,7 @@ export default class InfluxDatasource {
// replace templated variables
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) {
return [];
}