Commit d0b75cdb by Torkel Ödegaard

fix(templating): fixed issue with regex in query variable introduced by…

fix(templating): fixed issue with regex in query variable introduced by yesterdays big merged refactoring of template variable system
parent 8b90eedb
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment