mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 20:57:17 +01:00
Updated edit permissions on settings components.
This commit is contained in:
parent
ffc8f6faae
commit
7effa16f00
15 changed files with 128 additions and 148 deletions
|
|
@ -10,7 +10,7 @@ import {
|
|||
MenuSection,
|
||||
} from '@umami/react-zen';
|
||||
import { useMessages, useLoginQuery, useNavigation, useConfig } from '@/components/hooks';
|
||||
import { LogOut, LockKeyhole, Settings } from '@/components/icons';
|
||||
import { LogOut, LockKeyhole, Settings, UserCircle } from '@/components/icons';
|
||||
|
||||
export function SettingsButton() {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
|
@ -33,7 +33,7 @@ export function SettingsButton() {
|
|||
<MenuTrigger>
|
||||
<Button data-test="button-profile" variant="quiet" autoFocus={false}>
|
||||
<Icon>
|
||||
<Settings />
|
||||
<UserCircle />
|
||||
</Icon>
|
||||
</Button>
|
||||
<Popover placement="bottom end">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue