Просмотр исходного кода

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

Torkel Ödegaard 9 лет назад
Родитель
Сommit
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));
     }