fix: fix the filter error in dataset page (#17734)

This commit is contained in:
chanx
2026-08-03 17:49:31 +08:00
committed by GitHub
parent 31264bafb2
commit fe9167ac18

View File

@@ -78,7 +78,7 @@ export default function ListFilterBar({
return (
pre +
Object.values(cur).reduce((pre, cur) => {
return pre + cur.length;
return pre + (cur?.length || 0);
}, 0)
);
}