mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Fixed styling on update notice. Added private mode.
This commit is contained in:
parent
314bbee717
commit
dd88b1d901
6 changed files with 16 additions and 6 deletions
|
|
@ -6,6 +6,10 @@ function getHostName(url: string) {
|
|||
}
|
||||
|
||||
export function Favicon({ domain, ...props }) {
|
||||
if (process.env.privateMode) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const hostName = domain ? getHostName(domain) : null;
|
||||
|
||||
return hostName ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue