mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(filter-provider): handle potential null reference in clearSelection method (#6475)
This commit is contained in:
parent
cba610ecc8
commit
a2b34a1b44
@ -169,7 +169,7 @@ export const DataBlockCollector = ({
|
||||
},
|
||||
clearSelection() {
|
||||
if (field) {
|
||||
field.data.clearSelectedRowKeys?.();
|
||||
field.data?.clearSelectedRowKeys?.();
|
||||
}
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user