Browse Source

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

Oleg Nechiporenko 11 năm trước cách đây
mục cha
commit
b24a797b05
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);