mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
remove duplicate logos and names on sharepage
This commit is contained in:
parent
b958403224
commit
daccd22ab2
1 changed files with 0 additions and 12 deletions
|
|
@ -96,8 +96,6 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: stri
|
|||
}
|
||||
|
||||
const { websiteId, parameters = {}, whiteLabel } = shareToken;
|
||||
const logoName = whiteLabel?.name || 'umami';
|
||||
const logoImage = whiteLabel?.image;
|
||||
|
||||
// Redirect to only allowed section - return null while redirecting
|
||||
if (
|
||||
|
|
@ -128,16 +126,6 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: stri
|
|||
return <ShareNav shareId={shareId} parameters={parameters} onItemClick={close} />;
|
||||
}}
|
||||
</MobileMenuButton>
|
||||
<Row alignItems="center" justifyContent="center" gap>
|
||||
{whiteLabel?.image ? (
|
||||
<img src={logoImage} alt={logoName} style={{ height: 24 }} />
|
||||
) : (
|
||||
<Icon>
|
||||
<Logo />
|
||||
</Icon>
|
||||
)}
|
||||
<Text weight="bold">{logoName}</Text>
|
||||
</Row>
|
||||
</Grid>
|
||||
</Row>
|
||||
<Column
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue