fix
This commit is contained in:
@@ -49,11 +49,7 @@ class CustomRules extends Component<CustomRulesProps> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
handleCheck = (values: FilteringCheckFormValues) => {
|
handleCheck = (values: FilteringCheckFormValues) => {
|
||||||
const filteredValues = Object.fromEntries(
|
this.props.checkHost(values);
|
||||||
Object.entries(values).filter(([_, value]) => value !== undefined && value !== '')
|
|
||||||
);
|
|
||||||
|
|
||||||
this.props.checkHost(filteredValues);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
onScroll = (e: any) => syncScroll(e, this.ref);
|
onScroll = (e: any) => syncScroll(e, this.ref);
|
||||||
|
|||||||
Reference in New Issue
Block a user