mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
checkpoint
This commit is contained in:
parent
db1ae3f2c7
commit
9e8748e2f3
14 changed files with 24 additions and 101 deletions
|
|
@ -9,7 +9,7 @@ import styles from './UserButton.module.css';
|
|||
import { AUTH_TOKEN } from 'lib/constants';
|
||||
import useUser from 'hooks/useUser';
|
||||
|
||||
export default function UserButton({ settingsDisabled }) {
|
||||
export default function UserButton() {
|
||||
const { user } = useUser();
|
||||
const router = useRouter();
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ export default function UserButton({ settingsDisabled }) {
|
|||
{
|
||||
label: <FormattedMessage id="label.profile" defaultMessage="Profile" />,
|
||||
value: 'profile',
|
||||
hidden: settingsDisabled,
|
||||
hidden: process.env.isCloudMode,
|
||||
},
|
||||
{ label: <FormattedMessage id="label.logout" defaultMessage="Logout" />, value: 'logout' },
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue