mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
Added settings button.
This commit is contained in:
parent
4f098a34c1
commit
c3a4d6c725
3 changed files with 67 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ import useConfig from 'hooks/useConfig';
|
|||
import useUser from 'hooks/useUser';
|
||||
import Logo from 'assets/logo.svg';
|
||||
import styles from './Header.module.css';
|
||||
import SettingsButton from '../settings/SettingsButton';
|
||||
|
||||
export default function Header() {
|
||||
const { user } = useUser();
|
||||
|
|
@ -46,6 +47,7 @@ export default function Header() {
|
|||
<div className={styles.buttons}>
|
||||
<ThemeButton />
|
||||
<LanguageButton menuAlign="right" />
|
||||
<SettingsButton />
|
||||
{user && !adminDisabled && <UserButton />}
|
||||
</div>
|
||||
</header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue