File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ export default class ColumnManager {
382
382
383
383
applySavedSortOrder ( ) {
384
384
let sortingConfig = JSON . parse ( localStorage . getItem ( 'savedSorting' ) ) ;
385
- if ( sortingConfig ) {
385
+ if ( sortingConfig ) {
386
386
const columnsToSort = Object . values ( sortingConfig ) ;
387
387
for ( let column of columnsToSort ) {
388
388
this . sortColumn ( column . colIndex , column . sortOrder ) ;
Original file line number Diff line number Diff line change @@ -313,11 +313,11 @@ export default class DataManager {
313
313
this . rows . forEach ( ( row , index ) => {
314
314
const viewIndex = this . rowViewOrder . indexOf ( index ) ;
315
315
const cell = row [ srNoColIndex ] ;
316
- row . meta . rowIndex = viewIndex
317
- if ( Array . isArray ( row ) ) {
316
+ row . meta . rowIndex = viewIndex ;
317
+ if ( Array . isArray ( row ) ) {
318
318
row . forEach ( r => {
319
- r . rowIndex = viewIndex
320
- } )
319
+ r . rowIndex = viewIndex ;
320
+ } ) ;
321
321
}
322
322
cell . content = ( viewIndex + 1 ) + '' ;
323
323
} ) ;
You can’t perform that action at this time.
0 commit comments