mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 17:45:38 +01:00
fix filter link
This commit is contained in:
parent
8384d6af35
commit
d0f1487107
1 changed files with 3 additions and 1 deletions
|
|
@ -21,7 +21,9 @@ export default function FilterLink({ id, value, label, externalUrl }) {
|
||||||
[styles.active]: active && selected,
|
[styles.active]: active && selected,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{safeDecodeURI(label || value)}
|
{(label && typeof label === 'string') ?? value
|
||||||
|
? safeDecodeURI(label || value)
|
||||||
|
: label || value}
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
{externalUrl && (
|
{externalUrl && (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue