fix(templating): fixed issue with regex in query variable introduced by yesterdays big merged refactoring of template variable system
This commit is contained in:
@@ -93,7 +93,7 @@ export class QueryVariable implements Variable {
|
||||
var regex, options, i, matches;
|
||||
options = [];
|
||||
|
||||
if (this.model.regex) {
|
||||
if (this.regex) {
|
||||
regex = kbn.stringToJsRegex(this.templateSrv.replace(this.regex));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user