fix(influxdb): added regex start string char to templating suggestion, fixes #4405

pull/4546/head
Torkel Ödegaard 10 years ago
parent 105a678d64
commit d8499e6941
  1. 2
      public/app/plugins/datasource/influxdb/query_ctrl.ts

@ -193,7 +193,7 @@ export class InfluxQueryCtrl extends QueryCtrl {
if (addTemplateVars) {
for (let variable of this.templateSrv.variables) {
segments.unshift(this.uiSegmentSrv.newSegment({ type: 'template', value: '/$' + variable.name + '$/', expandable: true }));
segments.unshift(this.uiSegmentSrv.newSegment({ type: 'template', value: '/^$' + variable.name + '$/', expandable: true }));
}
}

Loading…
Cancel
Save