Browse Source

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

Matt 9 năm trước cách đây
mục cha
commit
79c0a4f350
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      ambari-web/app/models/host_component.js

+ 2 - 1
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',