Skip to content

Commit

Permalink
[Security Assistant] Revert open AI Assistant settings in new tab (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic authored Oct 24, 2024
1 parent 54f2822 commit d2aa007
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
EuiContextMenuPanel,
EuiContextMenuItem,
EuiConfirmModal,
EuiIcon,
EuiNotificationBadge,
EuiPopover,
EuiButtonIcon,
Expand Down Expand Up @@ -70,7 +69,6 @@ export const SettingsContextMenu: React.FC<Params> = React.memo(
() =>
navigateToApp('management', {
path: 'kibana/securityAiAssistantManagement',
openInNewTab: true,
}),
[navigateToApp]
);
Expand All @@ -84,7 +82,6 @@ export const SettingsContextMenu: React.FC<Params> = React.memo(
() =>
navigateToApp('management', {
path: `kibana/securityAiAssistantManagement?tab=${KNOWLEDGE_BASE_TAB}`,
openInNewTab: true,
}),
[navigateToApp]
);
Expand All @@ -105,13 +102,6 @@ export const SettingsContextMenu: React.FC<Params> = React.memo(
data-test-subj={'ai-assistant-settings'}
>
{i18n.AI_ASSISTANT_SETTINGS}
<EuiIcon
css={css`
margin-left: ${euiThemeVars.euiSizeXS};
`}
size="s"
type="popout"
/>
</EuiContextMenuItem>,
<EuiContextMenuItem
aria-label={'knowledge-base'}
Expand All @@ -120,13 +110,6 @@ export const SettingsContextMenu: React.FC<Params> = React.memo(
data-test-subj={'knowledge-base'}
>
{i18n.KNOWLEDGE_BASE}
<EuiIcon
css={css`
margin-left: ${euiThemeVars.euiSizeXS};
`}
size="s"
type="popout"
/>
</EuiContextMenuItem>,
<EuiContextMenuItem
aria-label={'anonymization'}
Expand Down

0 comments on commit d2aa007

Please sign in to comment.