mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-28 08:47:50 +02:00
Fixed settings/profile cloudMode.
This commit is contained in:
parent
0487e48dd2
commit
d5c4202ee4
|
@ -20,7 +20,7 @@ export default function SettingsLayout({ children }) {
|
||||||
|
|
||||||
const getKey = () => items.find(({ url }) => pathname === url)?.key;
|
const getKey = () => items.find(({ url }) => pathname === url)?.key;
|
||||||
|
|
||||||
if (cloudMode) {
|
if (cloudMode && pathname != '/settings/profile') {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user