This is an automated email from the ASF dual-hosted git repository. atkach pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push: new 8c78a1c AMBARI-24134 Failure of component install leave ambari ui with inactive Customize Services 8c78a1c is described below commit 8c78a1c1009d10e5b4e9036a09a4256202cb4439 Author: Andrii Tkach <atk...@apache.org> AuthorDate: Mon Jun 18 13:23:02 2018 +0300 AMBARI-24134 Failure of component install leave ambari ui with inactive Customize Services --- ambari-web/app/controllers/main/service/add_controller.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ambari-web/app/controllers/main/service/add_controller.js b/ambari-web/app/controllers/main/service/add_controller.js index c11bcf2..1100417 100644 --- a/ambari-web/app/controllers/main/service/add_controller.js +++ b/ambari-web/app/controllers/main/service/add_controller.js @@ -261,10 +261,12 @@ App.AddServiceController = App.WizardController.extend(App.AddSecurityConfigs, { */ loadMasterComponentHosts: function () { var self = this, - dfd = $.Deferred(); + dfd = $.Deferred(), + ASSIGN_MASTER_STEP = 2, + DEPLOYMENT_STEPS = ['6', '7', '8']; this._super().done(function () { self.set('content.skipMasterStep', App.StackService.find().filterProperty('isSelected').filterProperty('hasMaster').everyProperty('isInstalled', true)); - self.get('isStepDisabled').findProperty('step', 2).set('value', self.get('content.skipMasterStep') || (self.get('currentStep') == 7 || self.get('currentStep') == 8)); + self.get('isStepDisabled').findProperty('step', ASSIGN_MASTER_STEP).set('value', self.get('content.skipMasterStep') || DEPLOYMENT_STEPS.contains(self.get('currentStep'))); dfd.resolve(); }); return dfd.promise(); -- To stop receiving notification emails like this one, please contact atk...@apache.org.