@tanstack/react-table 8.5.26 → 8.5.28
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 +3 -3
- package/build/cjs/table-core/build/esm/index.js.map +1 -1
- package/build/esm/index.js +3 -3
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +17 -17
- package/build/umd/index.development.js +3 -3
- 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
|
@@ -3150,11 +3150,11 @@ function getSortedRowModel() {
|
|
|
3150
3150
|
|
|
3151
3151
|
// If there are sub-rows, sort them
|
|
3152
3152
|
sortedData.forEach(row => {
|
|
3153
|
+
var _row$subRows;
|
|
3153
3154
|
sortedFlatRows.push(row);
|
|
3154
|
-
if (
|
|
3155
|
-
|
|
3155
|
+
if ((_row$subRows = row.subRows) != null && _row$subRows.length) {
|
|
3156
|
+
row.subRows = sortData(row.subRows);
|
|
3156
3157
|
}
|
|
3157
|
-
row.subRows = sortData(row.subRows);
|
|
3158
3158
|
});
|
|
3159
3159
|
return sortedData;
|
|
3160
3160
|
};
|