Explorar o código

AMBARI-9217 Configs: Edit inputs going to be readonly after switching between services. (atkach)

Andrii Tkach %!s(int64=10) %!d(string=hai) anos
pai
achega
e6816418e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ambari-web/app/controllers/main/service/info/configs.js

+ 1 - 1
ambari-web/app/controllers/main/service/info/configs.js

@@ -63,7 +63,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
 
   isCurrentSelected: function () {
     return App.ServiceConfigVersion.find(this.get('content.serviceName') + "_" + this.get('selectedVersion')).get('isCurrent');
-  }.property('selectedVersion', 'content.serviceName'),
+  }.property('selectedVersion', 'content.serviceName', 'dataIsLoaded'),
   serviceConfigs: function () {
     return App.config.get('preDefinedServiceConfigs');
   }.property('App.config.preDefinedServiceConfigs'),