mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
fix filter link
This commit is contained in:
parent
8384d6af35
commit
d0f1487107
@ -21,7 +21,9 @@ export default function FilterLink({ id, value, label, externalUrl }) {
|
||||
[styles.active]: active && selected,
|
||||
})}
|
||||
>
|
||||
{safeDecodeURI(label || value)}
|
||||
{(label && typeof label === 'string') ?? value
|
||||
? safeDecodeURI(label || value)
|
||||
: label || value}
|
||||
</a>
|
||||
</Link>
|
||||
{externalUrl && (
|
||||
|
Loading…
Reference in New Issue
Block a user