You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ji...@apache.org on 2024/09/07 09:44:54 UTC

(ambari) 03/22: AMBARI-26120:When selecting all hosts in install wizard step 6 page, the disabled host should be excluded (#3817)

This is an automated email from the ASF dual-hosted git repository.

jialiang pushed a commit to branch eee
in repository https://gitbox.apache.org/repos/asf/ambari.git

commit ad410e6f4d53a3c7a49b45d624432a64de0f555d
Author: jialiang <ji...@gmail.com>
AuthorDate: Fri Sep 6 16:58:04 2024 +0800

    AMBARI-26120:When selecting all hosts in install wizard step 6 page, the disabled host should be excluded (#3817)
---
 ambari-web/app/controllers/wizard/step6_controller.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ambari-web/app/controllers/wizard/step6_controller.js b/ambari-web/app/controllers/wizard/step6_controller.js
index 5952ed7219..c17514768c 100644
--- a/ambari-web/app/controllers/wizard/step6_controller.js
+++ b/ambari-web/app/controllers/wizard/step6_controller.js
@@ -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);
+          }
         }
       });
     });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org