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')}>
|
<>
|
||||||
<Button className="header__navigationItem--icon" onClick={() => push(`/$/${PAGES.SETTINGS}`)}>
|
<Tooltip title={__('Settings')}>
|
||||||
<Icon size={18} icon={ICONS.SETTINGS} aria-hidden />
|
<Button className="header__navigationItem--icon" onClick={() => push(`/$/${PAGES.SETTINGS}`)}>
|
||||||
</Button>
|
<Icon size={18} icon={ICONS.SETTINGS} aria-hidden />
|
||||||
</Tooltip>
|
</Button>
|
||||||
|
</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