fix(filter-provider): handle potential null reference in clearSelection method (#6475)

This commit is contained in:
Zeke Zhang 2025-03-16 17:42:23 +08:00 committed by GitHub
parent cba610ecc8
commit a2b34a1b44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -169,7 +169,7 @@ export const DataBlockCollector = ({
}, },
clearSelection() { clearSelection() {
if (field) { if (field) {
field.data.clearSelectedRowKeys?.(); field.data?.clearSelectedRowKeys?.();
} }
}, },
}); });