From fa41c117f3ee559fbb90d9011ca4c67faed7caa7 Mon Sep 17 00:00:00 2001 From: Justin Kambic Date: Mon, 12 Oct 2020 15:48:38 -0400 Subject: [PATCH] Fix layout and remove title for add alert popover. (#77633) (#80201) Co-authored-by: Elastic Machine Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../components/overview/alerts/toggle_alert_flyout_button.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x-pack/plugins/uptime/public/components/overview/alerts/toggle_alert_flyout_button.tsx b/x-pack/plugins/uptime/public/components/overview/alerts/toggle_alert_flyout_button.tsx index 067972a452f27..bebc232b968d9 100644 --- a/x-pack/plugins/uptime/public/components/overview/alerts/toggle_alert_flyout_button.tsx +++ b/x-pack/plugins/uptime/public/components/overview/alerts/toggle_alert_flyout_button.tsx @@ -93,7 +93,6 @@ export const ToggleAlertFlyoutButtonComponent: React.FC = ({ panels = [ { id: ALERT_CONTEXT_MAIN_PANEL_ID, - title: 'main panel', items: [...selectionItems, managementContextItem], }, ]; @@ -101,7 +100,6 @@ export const ToggleAlertFlyoutButtonComponent: React.FC = ({ panels = [ { id: ALERT_CONTEXT_MAIN_PANEL_ID, - title: 'main panel', items: [ { 'aria-label': ToggleFlyoutTranslations.openAlertContextPanelAriaLabel, @@ -140,6 +138,7 @@ export const ToggleAlertFlyoutButtonComponent: React.FC = ({ closePopover={() => setIsOpen(false)} isOpen={isOpen} ownFocus + panelPaddingSize="none" >