templating: fix dependent variable updating (#9306)

This commit is contained in:
Alexander Zobnin 2017-09-19 21:35:48 +03:00 committed by Torkel Ödegaard
parent bef4b9b3b0
commit fdec9a4daf

View File

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