Sfoglia il codice sorgente

AMBARI-4135. Review page doesn't have info about Repositories. (onechiporenko)

Oleg Nechiporenko 11 anni fa
parent
commit
b24a797b05
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      ambari-web/app/controllers/wizard/step8_controller.js

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

@@ -362,7 +362,7 @@ App.WizardStep8Controller = Em.Controller.extend({
     this.get('clusterInfo').pushObject(Ember.Object.create(totalHostsObj));
 
     //repo
-    if (this.get('content.controllerName') == 'addHostController') {
+    if (['addHostController', 'addServiceController'].contains(this.get('content.controllerName'))) {
       this.loadRepoInfo();
     } else { // from install wizard
       var selectedStack = this.get('content.stacks').findProperty('isSelected', true);