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

akovalenko 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 580c9fa  AMBARI-23496. Disable Add New HDFS Namespace option if 
cluster has no NN HA (akovalenko)
580c9fa is described below

commit 580c9faf8e11bfc6e4c2470ea96c0ebe65f7217b
Author: Aleksandr Kovalenko <akovale...@apache.org>
AuthorDate: Fri Apr 6 17:12:03 2018 +0300

    AMBARI-23496. Disable Add New HDFS Namespace option if cluster has no NN HA 
(akovalenko)
---
 ambari-web/app/models/host_component.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/models/host_component.js 
b/ambari-web/app/models/host_component.js
index c1bed60..aea98ef 100644
--- a/ambari-web/app/models/host_component.js
+++ b/ambari-web/app/models/host_component.js
@@ -544,7 +544,7 @@ App.HostComponentActionMap = {
         action: 'openNameNodeFederationWizard',
         label: Em.I18n.t('admin.nameNodeFederation.button.enable'),
         cssClass: 'icon icon-sitemap',
-        //todo: provide disabled flag
+        disabled: !App.get('isHaEnabled')
       }
     };
   },

-- 
To stop receiving notification emails like this one, please contact
akovale...@apache.org.

Reply via email to