templating: fix dependent variable updating (#9306)

This commit is contained in:
Alexander Zobnin authored and Torkel Ödegaard committed 2017-09-19 20:35:48 +02:00
1 parent bef4b9b3b0
commit fdec9a4daf
1 file changed
-1
@@ -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');