Skip to content

Commit 8d1fb87

Browse files
committed
chore: run linter
1 parent 8ec97ad commit 8d1fb87

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/columnmanager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export default class ColumnManager {
382382

383383
applySavedSortOrder() {
384384
let sortingConfig = JSON.parse(localStorage.getItem('savedSorting'));
385-
if(sortingConfig){
385+
if (sortingConfig) {
386386
const columnsToSort = Object.values(sortingConfig);
387387
for (let column of columnsToSort) {
388388
this.sortColumn(column.colIndex, column.sortOrder);

src/datamanager.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,11 @@ export default class DataManager {
313313
this.rows.forEach((row, index) => {
314314
const viewIndex = this.rowViewOrder.indexOf(index);
315315
const cell = row[srNoColIndex];
316-
row.meta.rowIndex = viewIndex
317-
if(Array.isArray(row)){
316+
row.meta.rowIndex = viewIndex;
317+
if (Array.isArray(row)) {
318318
row.forEach(r => {
319-
r.rowIndex = viewIndex
320-
})
319+
r.rowIndex = viewIndex;
320+
});
321321
}
322322
cell.content = (viewIndex + 1) + '';
323323
});

0 commit comments

Comments
 (0)