Explorar el Código

AMBARI-4211 Empty content of review step in Add Host wizard. (atkach)

atkach hace 11 años
padre
commit
e66947e815
Se han modificado 1 ficheros con 5 adiciones y 3 borrados
  1. 5 3
      ambari-web/app/controllers/wizard/step8_controller.js

+ 5 - 3
ambari-web/app/controllers/wizard/step8_controller.js

@@ -84,9 +84,11 @@ App.WizardStep8Controller = Em.Controller.extend({
       App.router.get('mainAdminSecurityController').setSecurityStatus();
     }
     this.clearStep();
-    this.formatProperties();
-    this.loadGlobals();
-    this.loadConfigs();
+    if (this.get('content.serviceConfigProperties')) {
+      this.formatProperties();
+      this.loadGlobals();
+      this.loadConfigs();
+    }
     this.loadClusterInfo();
     this.loadServices();
     this.set('isSubmitDisabled', false);