ywana-core8 0.0.798 → 0.0.799
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.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain2/CollectionList.js +1 -1
package/dist/index.modern.js
CHANGED
@@ -11396,9 +11396,7 @@ var CollectionList = function CollectionList(props) {
|
|
11396
11396
|
sortBy = props.sortBy,
|
11397
11397
|
sortDir = props.sortDir;
|
11398
11398
|
var context = useContext(CollectionContext);
|
11399
|
-
var _context$
|
11400
|
-
all = _context$all === void 0 ? [] : _context$all,
|
11401
|
-
_context$filtered = context.filtered,
|
11399
|
+
var _context$filtered = context.filtered,
|
11402
11400
|
filtered = _context$filtered === void 0 ? [] : _context$filtered,
|
11403
11401
|
selected = context.selected;
|
11404
11402
|
|
@@ -11419,7 +11417,7 @@ var CollectionList = function CollectionList(props) {
|
|
11419
11417
|
return item[field];
|
11420
11418
|
}).join(' ').toLowerCase();
|
11421
11419
|
return text.includes(search.toLowerCase());
|
11422
|
-
}) :
|
11420
|
+
}) : filtered;
|
11423
11421
|
var sorted = sortBy ? searched.sort(function (a, b) {
|
11424
11422
|
var valueA = a[sortBy];
|
11425
11423
|
var valueB = b[sortBy];
|