Fix metrics search when a value is null.

This commit is contained in:
Maxime-J committed 2024-02-15 14:25:33 +00:00
1 parent f50067e44f
commit d1cbbf37c0
1 file changed
+1 -1
+1 -1
View File
@@ -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());
});
}