Skip to content

Commit

Permalink
AMBARI-26120:When selecting all hosts in install wizard step 6 page, …
Browse files Browse the repository at this point in the history
…the disabled host should be excluded (apache#3817)
  • Loading branch information
tyoushinya authored Aug 30, 2024
1 parent 411be3a commit b868d09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ambari-web/app/controllers/wizard/step6_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ App.WizardStep6Controller = Em.Controller.extend(App.HostComponentValidationMixi
this.get('hosts').forEach(function (host) {
host.checkboxes.filterProperty('isInstalled', false).forEach(function (checkbox) {
if (checkbox.component === component) {
Em.set(checkbox, 'checked', checked);
if (!checkbox.isDisabled) {
Em.set(checkbox, 'checked', checked);
}
}
});
});
Expand Down

0 comments on commit b868d09

Please sign in to comment.