Commit 0223a75d by Francisco Guimarães Committed by Torkel Ödegaard

Refresh query variable when another variable is used in regex field (#12961)

parent a92d5173
......@@ -213,7 +213,7 @@ export class QueryVariable implements Variable {
}
dependsOn(variable) {
return containsVariable(this.query, this.datasource, variable.name);
return containsVariable(this.query, this.datasource, this.regex, variable.name);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment