Sfoglia il codice sorgente

templating: fix dependent variable updating (#9306)

Alexander Zobnin 8 anni fa
parent
commit
fdec9a4daf
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      public/app/features/templating/variable_srv.ts

+ 0 - 1
public/app/features/templating/variable_srv.ts

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