mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Fix metrics search when a value is null.
This commit is contained in:
parent
f50067e44f
commit
d1cbbf37c0
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ export function MetricsTable({
|
|||
items = items.filter(({ x, ...data }) => {
|
||||
const value = formatValue(x, type, data);
|
||||
|
||||
return value.toLowerCase().includes(search.toLowerCase());
|
||||
return value?.toLowerCase().includes(search.toLowerCase());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue