mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(influxdb): added regex start string char to templating suggestion, fixes #4405
This commit is contained in:
parent
105a678d64
commit
d8499e6941
@ -193,7 +193,7 @@ export class InfluxQueryCtrl extends QueryCtrl {
|
|||||||
|
|
||||||
if (addTemplateVars) {
|
if (addTemplateVars) {
|
||||||
for (let variable of this.templateSrv.variables) {
|
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…
Reference in New Issue
Block a user