From 5a33876ac4cad6e589f5c511cb3f1d142170feb3 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Tue, 11 Mar 2025 09:58:13 +0300 Subject: [PATCH] fix --- client/src/components/Filters/CustomRules.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/src/components/Filters/CustomRules.tsx b/client/src/components/Filters/CustomRules.tsx index 24a3b044..edafff42 100644 --- a/client/src/components/Filters/CustomRules.tsx +++ b/client/src/components/Filters/CustomRules.tsx @@ -49,11 +49,7 @@ class CustomRules extends Component { }; handleCheck = (values: FilteringCheckFormValues) => { - const filteredValues = Object.fromEntries( - Object.entries(values).filter(([_, value]) => value !== undefined && value !== '') - ); - - this.props.checkHost(filteredValues); + this.props.checkHost(values); }; onScroll = (e: any) => syncScroll(e, this.ref);