mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
Resolve favicon locally (WIP)
This commit is contained in:
parent
0cb14f3f6c
commit
4688986901
13 changed files with 91 additions and 30 deletions
|
|
@ -83,13 +83,13 @@ export default function WebsiteSettings() {
|
|||
</ButtonLayout>
|
||||
);
|
||||
|
||||
const DetailsLink = ({ website_id, name, domain }) => (
|
||||
const DetailsLink = ({ website_id, name, favicon }) => (
|
||||
<Link
|
||||
className={styles.detailLink}
|
||||
href="/website/[...id]"
|
||||
as={`/website/${website_id}/${name}`}
|
||||
>
|
||||
<Favicon domain={domain} />
|
||||
<Favicon url={favicon} />
|
||||
<OverflowText tooltipId={`${website_id}-name`}>{name}</OverflowText>
|
||||
</Link>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue