浏览代码

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

Torkel Ödegaard 9 年之前
父节点
当前提交
d0b75cdb66
共有 1 个文件被更改,包括 1 次插入1 次删除
  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));
     }