mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Force the query check to lowercase for tag values, fix issue with templating influxdb v0.11.0
This commit is contained in:
parent
04d142cd62
commit
aa62c2eff6
@ -15,7 +15,7 @@ export default class ResponseParser {
|
||||
var series = influxResults.series[0];
|
||||
return _.map(series.values, (value) => {
|
||||
if (_.isArray(value)) {
|
||||
if (query.indexOf('SHOW TAG VALUES') >= 0) {
|
||||
if (query.toLowerCase().indexOf('show tag values') >= 0) {
|
||||
return { text: (value[1] || value[0]) };
|
||||
} else {
|
||||
return { text: value[0] };
|
||||
|
Loading…
Reference in New Issue
Block a user