diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/header/action_menu.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/header/action_menu.tsx
index 7054ff53fd4e8d..4064c71fd3dbcb 100644
--- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/header/action_menu.tsx
+++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/header/action_menu.tsx
@@ -27,10 +27,12 @@ export const ActionMenu = ({ appMountParameters }: { appMountParameters: AppMoun
+ {ObservabilityAIAssistantActionMenuItem && (
+
+
+
+ )}
-
- {ObservabilityAIAssistantActionMenuItem ? : null}
-
);
};