fix(templating): fixed issue with regex in query variable introduced by yesterdays big merged refactoring of template variable system

This commit is contained in:
Torkel Ödegaard
2016-09-21 11:38:59 +02:00
parent 8b90eedb35
commit d0b75cdb66
@@ -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));
}