diff --git a/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx b/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx index 9b0941d86a5d4..24dc00cae84f6 100644 --- a/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx +++ b/src/plugins/ai_assistant_management/selection/public/routes/components/ai_assistant_selection_page.tsx @@ -24,8 +24,7 @@ import { useAppContext } from '../../app_context'; export function AiAssistantSelectionPage() { const { capabilities, setBreadcrumbs, navigateToApp } = useAppContext(); - - const observabilityAIAssistantEnabled = capabilities.observabilityAIAssistant.show; + const observabilityAIAssistantEnabled = capabilities.observabilityAIAssistant?.show; const securityAIAssistantEnabled = capabilities.securitySolutionAssistant?.['ai-assistant']; useEffect(() => { @@ -78,8 +77,7 @@ export function AiAssistantSelectionPage() { title={i18n.translate( 'aiAssistantManagementSelection.aiAssistantSelectionPage.observabilityAi.thisFeatureIsDisabledCallOutLabel', { - defaultMessage: - 'This feature is disabled. It can be enabled from Spaces > Features.', + defaultMessage: 'This feature is disabled.', } )} size="s"