Skip to content

Commit d0b75cd

Browse files
committed
fix(templating): fixed issue with regex in query variable introduced by yesterdays big merged refactoring of template variable system
1 parent 8b90eed commit d0b75cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/app/features/templating/query_variable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class QueryVariable implements Variable {
9393
var regex, options, i, matches;
9494
options = [];
9595

96-
if (this.model.regex) {
96+
if (this.regex) {
9797
regex = kbn.stringToJsRegex(this.templateSrv.replace(this.regex));
9898
}
9999

0 commit comments

Comments
 (0)