mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
feat(askai): hide askAI for CE [BE-11409] (#220)
This commit is contained in:
parent
d295968948
commit
aac9d001f7
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue