You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by mi...@apache.org on 2016/04/05 19:27:10 UTC
ambari git commit: AMBARI-15705: Activate Standby option should not
be shown on HAWQ Standby component on host summary page (mithmatt)
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 <mm...@pivotal.io>
Authored: Tue Apr 5 10:26:37 2016 -0700
Committer: Matt <mm...@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',