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

This commit is contained in:
Francisco Guimarães 2018-08-20 06:56:12 -03:00 committed by Torkel Ödegaard
parent a92d51731d
commit 0223a75de0

View File

@ -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);
}
}