mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fixed admin link.
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18) (push) Waiting to run
This commit is contained in:
parent
b115131f4c
commit
ee70baaeb7
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ export function SettingsButton() {
|
||||||
<MenuSeparator />
|
<MenuSeparator />
|
||||||
<MenuItem id="/settings" icon={<Settings />} label={formatMessage(labels.settings)} />
|
<MenuItem id="/settings" icon={<Settings />} label={formatMessage(labels.settings)} />
|
||||||
{!cloudMode && user.isAdmin && (
|
{!cloudMode && user.isAdmin && (
|
||||||
<MenuItem id="admin" icon={<LockKeyhole />} label={formatMessage(labels.admin)} />
|
<MenuItem id="/admin" icon={<LockKeyhole />} label={formatMessage(labels.admin)} />
|
||||||
)}
|
)}
|
||||||
{cloudMode && (
|
{cloudMode && (
|
||||||
<>
|
<>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue