1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

feat(askai): hide askAI for CE [BE-11409] (#220)

This commit is contained in:
Ali 2024-12-10 09:11:51 +13:00 committed by GitHub
parent d295968948
commit aac9d001f7

View file

@ -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';
@ -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 />}