Add help button to header in guets mode
This commit is contained in:
parent
486a557d75
commit
d1958d3775
1 changed files with 12 additions and 5 deletions
|
@ -57,11 +57,18 @@ export default function HeaderMenuButtons(props: HeaderMenuButtonProps) {
|
||||||
</Menu>
|
</Menu>
|
||||||
|
|
||||||
{!authenticated && (
|
{!authenticated && (
|
||||||
|
<>
|
||||||
<Tooltip title={__('Settings')}>
|
<Tooltip title={__('Settings')}>
|
||||||
<Button className="header__navigationItem--icon" onClick={() => push(`/$/${PAGES.SETTINGS}`)}>
|
<Button className="header__navigationItem--icon" onClick={() => push(`/$/${PAGES.SETTINGS}`)}>
|
||||||
<Icon size={18} icon={ICONS.SETTINGS} aria-hidden />
|
<Icon size={18} icon={ICONS.SETTINGS} aria-hidden />
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
<Tooltip title={__('Help')}>
|
||||||
|
<Button className="header__navigationItem--icon" onClick={() => push(`/$/${PAGES.HELP}`)}>
|
||||||
|
<Icon size={18} icon={ICONS.HELP} aria-hidden />
|
||||||
|
</Button>
|
||||||
|
</Tooltip>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{notificationsEnabled && <NotificationHeaderButton />}
|
{notificationsEnabled && <NotificationHeaderButton />}
|
||||||
|
|
Loading…
Reference in a new issue