Browse Source

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

Torkel Ödegaard 9 years ago
parent
commit
d0b75cdb66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/templating/query_variable.ts

+ 1 - 1
public/app/features/templating/query_variable.ts

@@ -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));
     }