@tanstack/svelte-table 8.5.18 → 8.5.19
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/cjs/table-core/build/esm/index.js +1 -1
- package/build/cjs/table-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +47 -47
- package/build/umd/index.development.js +1 -1
- 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 +2 -2
package/build/esm/index.js
CHANGED
|
@@ -3107,7 +3107,7 @@ function getSortedRowModel() {
|
|
|
3107
3107
|
const sortData = rows => {
|
|
3108
3108
|
// This will also perform a stable sorting using the row index
|
|
3109
3109
|
// if needed.
|
|
3110
|
-
const sortedData = rows
|
|
3110
|
+
const sortedData = [...rows];
|
|
3111
3111
|
sortedData.sort((rowA, rowB) => {
|
|
3112
3112
|
for (let i = 0; i < availableSorting.length; i += 1) {
|
|
3113
3113
|
const sortEntry = availableSorting[i];
|