Fixed a deprecation
This commit is contained in:
@@ -111,11 +111,13 @@ function Column<Obj extends Entity>(
|
||||
if (props.loadingFilters) {
|
||||
columnProps.filterDropdown = <FilterDropdownLoading />;
|
||||
}
|
||||
columnProps.onFilterDropdownOpenChange = (open) => {
|
||||
columnProps.filterDropdownProps = {
|
||||
onOpenChange: (open) => {
|
||||
if (open && props.onFilterDropdownOpen) {
|
||||
props.onFilterDropdownOpen();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
if (props.dataId) {
|
||||
columnProps.key = props.dataId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user