@tanstack/table-core 8.10.0 → 8.10.1
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/build/lib/features/Pinning.js +2 -2
- package/build/lib/features/Pinning.js.map +1 -1
- package/build/lib/index.esm.js +2 -2
- package/build/lib/index.esm.js.map +1 -1
- package/build/lib/index.mjs +2 -2
- package/build/lib/index.mjs.map +1 -1
- package/build/umd/index.development.js +2 -2
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/features/Pinning.ts +5 -2
package/build/lib/index.mjs
CHANGED
|
@@ -1728,13 +1728,13 @@ const Pinning = {
|
|
|
1728
1728
|
var _old$top, _old$bottom;
|
|
1729
1729
|
return {
|
|
1730
1730
|
top: ((_old$top = old == null ? void 0 : old.top) != null ? _old$top : []).filter(d => !(rowIds != null && rowIds.has(d))),
|
|
1731
|
-
bottom: [...((_old$bottom = old == null ? void 0 : old.bottom) != null ? _old$bottom : []).filter(d => !(rowIds != null && rowIds.has(d))), ...rowIds]
|
|
1731
|
+
bottom: [...((_old$bottom = old == null ? void 0 : old.bottom) != null ? _old$bottom : []).filter(d => !(rowIds != null && rowIds.has(d))), ...Array.from(rowIds)]
|
|
1732
1732
|
};
|
|
1733
1733
|
}
|
|
1734
1734
|
if (position === 'top') {
|
|
1735
1735
|
var _old$top2, _old$bottom2;
|
|
1736
1736
|
return {
|
|
1737
|
-
top: [...((_old$top2 = old == null ? void 0 : old.top) != null ? _old$top2 : []).filter(d => !(rowIds != null && rowIds.has(d))), ...rowIds],
|
|
1737
|
+
top: [...((_old$top2 = old == null ? void 0 : old.top) != null ? _old$top2 : []).filter(d => !(rowIds != null && rowIds.has(d))), ...Array.from(rowIds)],
|
|
1738
1738
|
bottom: ((_old$bottom2 = old == null ? void 0 : old.bottom) != null ? _old$bottom2 : []).filter(d => !(rowIds != null && rowIds.has(d)))
|
|
1739
1739
|
};
|
|
1740
1740
|
}
|