Updated edit permissions on settings components.
This commit is contained in:
1 parent
ffc8f6faae
commit
7effa16f00
15 files changed
+128
-148
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user