@faasjs/ant-design 0.0.3-beta.56 → 0.0.3-beta.58
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
|
@@ -1291,7 +1291,7 @@ function Table(props) {
|
|
|
1291
1291
|
item.onFilter = (value, row) => {
|
|
1292
1292
|
if (value === null && (!row[item.id] || !row[item.id].length))
|
|
1293
1293
|
return true;
|
|
1294
|
-
if (!row[item.id] || !row[item.id].length)
|
|
1294
|
+
if (!row[item.id] || !row[item.id].length || !value)
|
|
1295
1295
|
return false;
|
|
1296
1296
|
return row[item.id].some((v) => v.toLowerCase().includes(value.toLowerCase()));
|
|
1297
1297
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1297,7 +1297,7 @@ function Table(props) {
|
|
|
1297
1297
|
item.onFilter = (value, row) => {
|
|
1298
1298
|
if (value === null && (!row[item.id] || !row[item.id].length))
|
|
1299
1299
|
return true;
|
|
1300
|
-
if (!row[item.id] || !row[item.id].length)
|
|
1300
|
+
if (!row[item.id] || !row[item.id].length || !value)
|
|
1301
1301
|
return false;
|
|
1302
1302
|
return row[item.id].some((v) => v.toLowerCase().includes(value.toLowerCase()));
|
|
1303
1303
|
};
|