Skip to content

Commit

Permalink
feat(askai): hide askAI for CE [BE-11409] (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
testA113 authored Dec 9, 2024
1 parent d295968 commit aac9d00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/react/components/PageHeader/HeaderTitle.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { PropsWithChildren } from 'react';

import { isBE } from '@/react/portainer/feature-flags/feature-flags.service';

import { ContextHelp } from '@@/PageHeader/ContextHelp';

import { useHeaderContext } from './HeaderContainer';
Expand All @@ -26,7 +28,7 @@ export function HeaderTitle({ title, children }: PropsWithChildren<Props>) {
{children && <>{children}</>}
</div>
<div className="flex items-end">
<AskAILink />
{isBE && <AskAILink />}
<NotificationsMenu />
<ContextHelp />
{!window.ddExtension && <UserMenu />}
Expand Down

0 comments on commit aac9d00

Please sign in to comment.