Commit fdec9a4d by Alexander Zobnin Committed by Torkel Ödegaard

templating: fix dependent variable updating (#9306)

parent bef4b9b3
...@@ -43,7 +43,6 @@ export class VariableSrv { ...@@ -43,7 +43,6 @@ export class VariableSrv {
var previousOptions = variable.options.slice(); var previousOptions = variable.options.slice();
return variable.updateOptions() return variable.updateOptions()
.then(this.variableUpdated.bind(this, variable))
.then(() => { .then(() => {
if (angular.toJson(previousOptions) !== angular.toJson(variable.options)) { if (angular.toJson(previousOptions) !== angular.toJson(variable.options)) {
this.$rootScope.$emit('template-variable-value-updated'); this.$rootScope.$emit('template-variable-value-updated');
......
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