From d0b75cdb6621b35272b812df9aa12f31f082a018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 21 Sep 2016 11:38:59 +0200 Subject: [PATCH] fix(templating): fixed issue with regex in query variable introduced by yesterdays big merged refactoring of template variable system --- public/app/features/templating/query_variable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/templating/query_variable.ts b/public/app/features/templating/query_variable.ts index a9ac6aa02b9..82f180b1f94 100644 --- a/public/app/features/templating/query_variable.ts +++ b/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)); }