Explorar o código

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

Oleg Nechiporenko %!s(int64=11) %!d(string=hai) anos
pai
achega
b24a797b05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);