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>
|
||||
|
||||
{!authenticated && (
|
||||
<Tooltip title={__('Settings')}>
|
||||
<Button className="header__navigationItem--icon" onClick={() => push(`/$/${PAGES.SETTINGS}`)}>
|
||||
<Icon size={18} icon={ICONS.SETTINGS} aria-hidden />
|
||||
</Button>
|
||||
</Tooltip>
|
||||
<>
|
||||
<Tooltip title={__('Settings')}>
|
||||
<Button className="header__navigationItem--icon" onClick={() => push(`/$/${PAGES.SETTINGS}`)}>
|
||||
<Icon size={18} icon={ICONS.SETTINGS} aria-hidden />
|
||||
</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 />}
|
||||
|
|
Loading…
Reference in a new issue