diff --git a/src/table/hooks/useFilter.tsx b/src/table/hooks/useFilter.tsx index 27b38529c2..2a3ad2b389 100644 --- a/src/table/hooks/useFilter.tsx +++ b/src/table/hooks/useFilter.tsx @@ -13,7 +13,7 @@ import { renderTitle } from './useTableHeader'; function isFilterValueExist(value: any) { const isArrayTrue = value instanceof Array && value.length; const isObject = typeof value === 'object' && !(value instanceof Array); - const isObjectTrue = isObject && Object.keys(value).length; + const isObjectTrue = value !== null && isObject && Object.keys(value).length; return isArrayTrue || isObjectTrue || !['null', '', 'undefined'].includes(String(value)); }