mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
feat(help): EE-2724 Context sensitive help (#7694)
This commit is contained in:
parent
1b0db4971f
commit
f8b8d549fd
10 changed files with 464 additions and 13 deletions
|
@ -1,5 +1,7 @@
|
|||
import { PropsWithChildren } from 'react';
|
||||
|
||||
import { ContextHelp } from '@@/PageHeader/ContextHelp';
|
||||
|
||||
import { useHeaderContext } from './HeaderContainer';
|
||||
import { UserMenu } from './UserMenu';
|
||||
|
||||
|
@ -18,7 +20,10 @@ export function HeaderTitle({ title, children }: PropsWithChildren<Props>) {
|
|||
</div>
|
||||
{children && <span>{children}</span>}
|
||||
</div>
|
||||
{!window.ddExtension && <UserMenu />}
|
||||
<div className="flex items-center gap-4">
|
||||
<ContextHelp />
|
||||
{!window.ddExtension && <UserMenu />}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue