feat(askai): hide askAI for CE [BE-11409] (#220)
parent
d295968948
commit
aac9d001f7
|
@ -1,5 +1,7 @@
|
||||||
import { PropsWithChildren } from 'react';
|
import { PropsWithChildren } from 'react';
|
||||||
|
|
||||||
|
import { isBE } from '@/react/portainer/feature-flags/feature-flags.service';
|
||||||
|
|
||||||
import { ContextHelp } from '@@/PageHeader/ContextHelp';
|
import { ContextHelp } from '@@/PageHeader/ContextHelp';
|
||||||
|
|
||||||
import { useHeaderContext } from './HeaderContainer';
|
import { useHeaderContext } from './HeaderContainer';
|
||||||
|
@ -26,7 +28,7 @@ export function HeaderTitle({ title, children }: PropsWithChildren<Props>) {
|
||||||
{children && <>{children}</>}
|
{children && <>{children}</>}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-end">
|
<div className="flex items-end">
|
||||||
<AskAILink />
|
{isBE && <AskAILink />}
|
||||||
<NotificationsMenu />
|
<NotificationsMenu />
|
||||||
<ContextHelp />
|
<ContextHelp />
|
||||||
{!window.ddExtension && <UserMenu />}
|
{!window.ddExtension && <UserMenu />}
|
||||||
|
|
Loading…
Reference in New Issue