@faasjs/ant-design 0.0.3-beta.51 → 0.0.3-beta.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1182,7 +1182,7 @@ function Table(props) {
|
|
|
1182
1182
|
item.onFilter = (value, row) => {
|
|
1183
1183
|
if (value === null && (0, import_lodash_es6.isNil)(row[item.id]))
|
|
1184
1184
|
return true;
|
|
1185
|
-
if (!row[item.id])
|
|
1185
|
+
if (!row[item.id] || !value)
|
|
1186
1186
|
return false;
|
|
1187
1187
|
return row[item.id].toLowerCase().includes(value.toLowerCase());
|
|
1188
1188
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1182,7 +1182,7 @@ function Table(props) {
|
|
|
1182
1182
|
item.onFilter = (value, row) => {
|
|
1183
1183
|
if (value === null && isNil2(row[item.id]))
|
|
1184
1184
|
return true;
|
|
1185
|
-
if (!row[item.id])
|
|
1185
|
+
if (!row[item.id] || !value)
|
|
1186
1186
|
return false;
|
|
1187
1187
|
return row[item.id].toLowerCase().includes(value.toLowerCase());
|
|
1188
1188
|
};
|