Преглед на файлове

AMBARI-7989. Ambari layout issues in Add Service and Admin Repositories (alexantonenko)

Alex Antonenko преди 10 години
родител
ревизия
697c5a47e8
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      ambari-web/app/controllers/main/service/add_controller.js
  2. 1 1
      ambari-web/app/styles/application.less

+ 1 - 1
ambari-web/app/controllers/main/service/add_controller.js

@@ -159,7 +159,7 @@ App.AddServiceController = App.WizardController.extend({
    */
   loadMasterComponentHosts: function () {
     this._super();
-    this.set('content.skipMasterStep', this.get('content.masterComponentHosts').everyProperty('isInstalled', true));
+    this.set('content.skipMasterStep', App.StackService.find().filterProperty('isSelected').filterProperty('hasMaster').everyProperty('isInstalled', true));
     this.get('isStepDisabled').findProperty('step', 2).set('value', this.get('content.skipMasterStep'));
   },
 

+ 1 - 1
ambari-web/app/styles/application.less

@@ -6460,7 +6460,7 @@ i.icon-asterisks {
             width: 70%;
             padding-top: 4px;
             padding-left: 3px;
-            overflow: scroll;
+            overflow: auto;
           }
           .edit-td {
             width: 8%;