From d2aa00708309fdf85deb03870f65960ec78161cf Mon Sep 17 00:00:00 2001 From: Steph Milovic Date: Thu, 24 Oct 2024 16:44:45 -0600 Subject: [PATCH] [Security Assistant] Revert open AI Assistant settings in new tab (#197725) --- .../settings_context_menu.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/x-pack/packages/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.tsx b/x-pack/packages/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.tsx index 62184cb4bbafe..baed2ff4cdb86 100644 --- a/x-pack/packages/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.tsx +++ b/x-pack/packages/kbn-elastic-assistant/impl/assistant/settings/settings_context_menu/settings_context_menu.tsx @@ -12,7 +12,6 @@ import { EuiContextMenuPanel, EuiContextMenuItem, EuiConfirmModal, - EuiIcon, EuiNotificationBadge, EuiPopover, EuiButtonIcon, @@ -70,7 +69,6 @@ export const SettingsContextMenu: React.FC = React.memo( () => navigateToApp('management', { path: 'kibana/securityAiAssistantManagement', - openInNewTab: true, }), [navigateToApp] ); @@ -84,7 +82,6 @@ export const SettingsContextMenu: React.FC = React.memo( () => navigateToApp('management', { path: `kibana/securityAiAssistantManagement?tab=${KNOWLEDGE_BASE_TAB}`, - openInNewTab: true, }), [navigateToApp] ); @@ -105,13 +102,6 @@ export const SettingsContextMenu: React.FC = React.memo( data-test-subj={'ai-assistant-settings'} > {i18n.AI_ASSISTANT_SETTINGS} - , = React.memo( data-test-subj={'knowledge-base'} > {i18n.KNOWLEDGE_BASE} - ,