Explorar o código

AMBARI-15757. Add Service step4 load step takes 20+ seconds. (onechiporenko)

Oleg Nechiporenko %!s(int64=9) %!d(string=hai) anos
pai
achega
6568b583d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ambari-web/app/controllers/wizard/step7_controller.js

+ 1 - 1
ambari-web/app/controllers/wizard/step7_controller.js

@@ -574,10 +574,10 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E
       }
       this._updateIsEditableFlagForConfig(serviceConfigProperty, defaultGroupSelected);
 
-      componentConfig.get('configs').pushObject(serviceConfigProperty);
       serviceConfigProperty.validate();
 
     }, this);
+    componentConfig.get('configs').pushObjects(configs);
     component.get('configGroups').filterProperty('isDefault', false).forEach(function (configGroup) {
       configGroup.set('hash', this.get('wizardController').getConfigGroupHash(configGroup));
     }, this);