You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2018/07/26 15:02:43 UTC
[ambari] branch branch-2.7 updated: AMBARI-24359 Back and forth on
All Configurations Page has multiple tabs marked as active
This is an automated email from the ASF dual-hosted git repository.
atkach pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new ac98aab AMBARI-24359 Back and forth on All Configurations Page has multiple tabs marked as active
ac98aab is described below
commit ac98aab0ce0ffeb178b60bc51e20c6331e86422c
Author: Andrii Tkach <at...@apache.org>
AuthorDate: Thu Jul 26 16:20:12 2018 +0300
AMBARI-24359 Back and forth on All Configurations Page has multiple tabs marked as active
---
ambari-web/app/controllers/wizard/step7_controller.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ambari-web/app/controllers/wizard/step7_controller.js b/ambari-web/app/controllers/wizard/step7_controller.js
index 6e80e7e..e93564d 100644
--- a/ambari-web/app/controllers/wizard/step7_controller.js
+++ b/ambari-web/app/controllers/wizard/step7_controller.js
@@ -1904,7 +1904,9 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, App.E
},
selectService: function (event) {
- event.context.set('isActive', true);
+ this.get('stepConfigs').forEach((service) => {
+ service.set('isActive', service.get('serviceName') === event.context.serviceName);
+ });
this.set('selectedService', event.context);
var activeTabs = this.get('tabs').findProperty('isActive', true);
if (activeTabs) {