mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
Hide user button for cloud.
This commit is contained in:
parent
6ee27a7e53
commit
4f098a34c1
@ -46,7 +46,7 @@ export default function Header() {
|
|||||||
<div className={styles.buttons}>
|
<div className={styles.buttons}>
|
||||||
<ThemeButton />
|
<ThemeButton />
|
||||||
<LanguageButton menuAlign="right" />
|
<LanguageButton menuAlign="right" />
|
||||||
{user && <UserButton />}
|
{user && !adminDisabled && <UserButton />}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
</>
|
</>
|
||||||
|
@ -13,7 +13,7 @@ export default function SingleSignOnPage() {
|
|||||||
|
|
||||||
router.push(url);
|
router.push(url);
|
||||||
}
|
}
|
||||||
}, [url, token]);
|
}, [router, url, token]);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user