templating: fix dependent variable updating (#9306)

(cherry picked from commit fdec9a4daf)
This commit is contained in:
Alexander Zobnin
2017-09-22 10:28:03 +02:00
committed by Torkel Ödegaard
parent a220c84ec0
commit 7490963cc1
@@ -43,7 +43,6 @@ export class VariableSrv {
var previousOptions = variable.options.slice();
return variable.updateOptions()
.then(this.variableUpdated.bind(this, variable))
.then(() => {
if (angular.toJson(previousOptions) !== angular.toJson(variable.options)) {
this.$rootScope.$emit('template-variable-value-updated');