diff --git a/x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx b/x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx
index bbbd81b4e49eae..9d023a290d8792 100644
--- a/x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx
+++ b/x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx
@@ -33,7 +33,7 @@ import {
EuiDataGridColumn,
EuiFlexGroup,
EuiFlexItem,
- EuiContextMenu,
+ EuiContextMenuPanel,
EuiPopover,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
@@ -219,26 +219,21 @@ function ObservabilityActions({
onUpdateFailure: onAlertStatusUpdated,
});
- const actionsPanels = useMemo(() => {
+ const actionsMenuItems = useMemo(() => {
return [
- {
- id: 0,
- content: [
- timelines.getAddToExistingCaseButton({
- event,
- casePermissions,
- appId: observabilityFeatureId,
- onClose: afterCaseSelection,
- }),
- timelines.getAddToNewCaseButton({
- event,
- casePermissions,
- appId: observabilityFeatureId,
- onClose: afterCaseSelection,
- }),
- ...(alertPermissions.crud ? statusActionItems : []),
- ],
- },
+ timelines.getAddToExistingCaseButton({
+ event,
+ casePermissions,
+ appId: observabilityFeatureId,
+ onClose: afterCaseSelection,
+ }),
+ timelines.getAddToNewCaseButton({
+ event,
+ casePermissions,
+ appId: observabilityFeatureId,
+ onClose: afterCaseSelection,
+ }),
+ ...(alertPermissions.crud ? statusActionItems : []),
];
}, [afterCaseSelection, casePermissions, timelines, event, statusActionItems, alertPermissions]);
@@ -279,7 +274,7 @@ function ObservabilityActions({
panelPaddingSize="none"
anchorPosition="downLeft"
>
-
+
diff --git a/x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_existing_case_button.tsx b/x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_existing_case_button.tsx
index 1a3c8267f946ce..37aeb04fdbfa2f 100644
--- a/x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_existing_case_button.tsx
+++ b/x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_existing_case_button.tsx
@@ -33,7 +33,6 @@ const AddToCaseActionComponent: React.FC = ({
diff --git a/x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_new_case_button.tsx b/x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_new_case_button.tsx
index 7585382b148204..16324ba3bae684 100644
--- a/x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_new_case_button.tsx
+++ b/x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_new_case_button.tsx
@@ -34,7 +34,6 @@ const AddToCaseActionComponent: React.FC = ({
diff --git a/x-pack/plugins/timelines/public/components/t_grid/toolbar/bulk_actions/index.tsx b/x-pack/plugins/timelines/public/components/t_grid/toolbar/bulk_actions/index.tsx
index bda2f24bc7dd23..680da584b382ea 100644
--- a/x-pack/plugins/timelines/public/components/t_grid/toolbar/bulk_actions/index.tsx
+++ b/x-pack/plugins/timelines/public/components/t_grid/toolbar/bulk_actions/index.tsx
@@ -96,7 +96,7 @@ const BulkActionsComponent: React.FC = ({
onClickUpdate(FILTER_OPEN)}
- size="s"
>
{i18n.BULK_ACTION_OPEN_SELECTED}
@@ -139,7 +138,6 @@ export const useStatusBulkActionItems = ({
key="acknowledge"
data-test-subj="acknowledged-alert-status"
onClick={() => onClickUpdate(FILTER_ACKNOWLEDGED)}
- size="s"
>
{i18n.BULK_ACTION_ACKNOWLEDGED_SELECTED}
@@ -151,7 +149,6 @@ export const useStatusBulkActionItems = ({
key="close"
data-test-subj="close-alert-status"
onClick={() => onClickUpdate(FILTER_CLOSED)}
- size="s"
>
{i18n.BULK_ACTION_CLOSE_SELECTED}