Skip to content

Commit

Permalink
Fix layout and remove title for add alert popover. (#77633) (#80200)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
3 people authored Oct 12, 2020
1 parent d8070bd commit 4430c33
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,13 @@ export const ToggleAlertFlyoutButtonComponent: React.FC<Props> = ({
panels = [
{
id: ALERT_CONTEXT_MAIN_PANEL_ID,
title: 'main panel',
items: [...selectionItems, managementContextItem],
},
];
} else {
panels = [
{
id: ALERT_CONTEXT_MAIN_PANEL_ID,
title: 'main panel',
items: [
{
'aria-label': ToggleFlyoutTranslations.openAlertContextPanelAriaLabel,
Expand Down Expand Up @@ -140,6 +138,7 @@ export const ToggleAlertFlyoutButtonComponent: React.FC<Props> = ({
closePopover={() => setIsOpen(false)}
isOpen={isOpen}
ownFocus
panelPaddingSize="none"
>
<EuiContextMenu initialPanelId={0} panels={panels} />
</EuiPopover>
Expand Down

0 comments on commit 4430c33

Please sign in to comment.