fix variable interpolation

This commit is contained in:
Sven Klemm
2018-03-03 22:11:51 +01:00
parent fd518846b1
commit 7104e6f9f8
2 changed files with 4 additions and 1 deletions

View File

@ -207,7 +207,7 @@ export class PostgresQueryCtrl extends QueryCtrl {
segments.unshift(
this.uiSegmentSrv.newSegment({
type: 'template',
value: '/^$' + variable.name + '$/',
value: '$' + variable.name,
expandable: true,
})
);