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.cjs
CHANGED
@@ -11404,9 +11404,7 @@ var CollectionList = function CollectionList(props) {
|
|
11404
11404
|
sortBy = props.sortBy,
|
11405
11405
|
sortDir = props.sortDir;
|
11406
11406
|
var context = React.useContext(CollectionContext);
|
11407
|
-
var _context$
|
11408
|
-
all = _context$all === void 0 ? [] : _context$all,
|
11409
|
-
_context$filtered = context.filtered,
|
11407
|
+
var _context$filtered = context.filtered,
|
11410
11408
|
filtered = _context$filtered === void 0 ? [] : _context$filtered,
|
11411
11409
|
selected = context.selected;
|
11412
11410
|
|
@@ -11427,7 +11425,7 @@ var CollectionList = function CollectionList(props) {
|
|
11427
11425
|
return item[field];
|
11428
11426
|
}).join(' ').toLowerCase();
|
11429
11427
|
return text.includes(search.toLowerCase());
|
11430
|
-
}) :
|
11428
|
+
}) : filtered;
|
11431
11429
|
var sorted = sortBy ? searched.sort(function (a, b) {
|
11432
11430
|
var valueA = a[sortBy];
|
11433
11431
|
var valueB = b[sortBy];
|