ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject ambari git commit: AMBARI-18061. Configs: Interactive Query Queue become visible when Enable Interactive Query is off on Install and Add Service Wizards (alexantonenko)
Date Thu, 11 Aug 2016 18:33:41 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 54efb18f5 -> 7f37bd6e1


AMBARI-18061. Configs: Interactive Query Queue become visible when Enable Interactive Query
is off on Install and Add Service Wizards (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7f37bd6e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7f37bd6e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7f37bd6e

Branch: refs/heads/branch-2.4
Commit: 7f37bd6e1c4cb42a191ea095a4cc49e782ac7335
Parents: 54efb18
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Mon Aug 8 14:20:04 2016 +0300
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Thu Aug 11 11:33:26 2016 -0700

----------------------------------------------------------------------
 .../app/mixins/common/configs/config_recommendation_parser.js    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7f37bd6e/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
index df7dfe9..b88cf62 100644
--- a/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
+++ b/ambari-web/app/mixins/common/configs/config_recommendation_parser.js
@@ -160,7 +160,7 @@ App.ConfigRecommendationParser = Em.Mixin.create(App.ConfigRecommendations,
{
         errorMessage: '',
         warnMessage: ''
       });
-      if (!Em.isNone(recommendedValue)) {
+      if (!Em.isNone(recommendedValue) && !Em.get(config, 'hiddenBySection')) {
         Em.set(config, 'isVisible', true);
       }
       this.applyRecommendation(Em.get(config, 'name'), Em.get(config, 'filename'), Em.get(config,
'group.name'), recommendedValue, this._getInitialValue(config), parentProperties);
@@ -344,4 +344,4 @@ App.ConfigRecommendationParser = Em.Mixin.create(App.ConfigRecommendations,
{
       return true;
     }
   }
-});
\ No newline at end of file
+});


Mime
View raw message