fix(influxdb): fixed influxdb template var filter suggestion, fixes #2666

This commit is contained in:
Torkel Ödegaard 2015-09-03 20:53:10 +02:00
parent 64cee145e0
commit cd6bdc1a78

View File

@ -136,7 +136,7 @@ function (angular, _, InfluxQueryBuilder) {
if (addTemplateVars) {
_.each(templateSrv.variables, function(variable) {
segments.unshift(new MetricSegment({ type: 'template', value: '/$' + variable.name + '/', expandable: true }));
segments.unshift(new MetricSegment({ type: 'template', value: '/$' + variable.name + '$/', expandable: true }));
});
}