ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mithm...@apache.org
Subject ambari git commit: AMBARI-15705: Activate Standby option should not be shown on HAWQ Standby component on host summary page (mithmatt)
Date Tue, 05 Apr 2016 17:27:10 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 68fe82f5d -> 79c0a4f35


AMBARI-15705: Activate Standby option should not be shown on HAWQ Standby component on host
summary page (mithmatt)


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

Branch: refs/heads/trunk
Commit: 79c0a4f350c951c5225877ce6ddec8772dc0b47d
Parents: 68fe82f
Author: Matt <mmathew@pivotal.io>
Authored: Tue Apr 5 10:26:37 2016 -0700
Committer: Matt <mmathew@pivotal.io>
Committed: Tue Apr 5 10:26:37 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/models/host_component.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/79c0a4f3/ambari-web/app/models/host_component.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/host_component.js b/ambari-web/app/models/host_component.js
index 7a5805c..d7dce6e 100644
--- a/ambari-web/app/models/host_component.js
+++ b/ambari-web/app/models/host_component.js
@@ -430,7 +430,8 @@ App.HostComponentActionMap = {
         context: Em.I18n.t('admin.activateHawqStandby.button.enable'),
         cssClass: 'icon-arrow-up',
         isHidden: App.get('isSingleNode') || !HS,
-        disabled: false
+        disabled: false,
+        hideFromComponentView: true
       },
       HAWQ_CLEAR_CACHE: {
         action: 'executeHawqCustomCommand',


Mime
View raw message