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.umd.js CHANGED
@@ -11398,9 +11398,7 @@
11398
11398
  sortBy = props.sortBy,
11399
11399
  sortDir = props.sortDir;
11400
11400
  var context = React.useContext(CollectionContext);
11401
- var _context$all = context.all,
11402
- all = _context$all === void 0 ? [] : _context$all,
11403
- _context$filtered = context.filtered,
11401
+ var _context$filtered = context.filtered,
11404
11402
  filtered = _context$filtered === void 0 ? [] : _context$filtered,
11405
11403
  selected = context.selected;
11406
11404
 
@@ -11421,7 +11419,7 @@
11421
11419
  return item[field];
11422
11420
  }).join(' ').toLowerCase();
11423
11421
  return text.includes(search.toLowerCase());
11424
- }) : all;
11422
+ }) : filtered;
11425
11423
  var sorted = sortBy ? searched.sort(function (a, b) {
11426
11424
  var valueA = a[sortBy];
11427
11425
  var valueB = b[sortBy];