We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d5c49f commit 056fc13Copy full SHA for 056fc13
src/components/Table/src/hooks/useColumns.ts
@@ -73,8 +73,7 @@ function handleIndexColumn(
73
return `${index + 1}`;
74
}
75
const { current = 1, pageSize = PAGE_SIZE } = getPagination;
76
- const currentIndex = (current - 1) * pageSize + index + 1;
77
- return currentIndex;
+ return ((current < 1 ? 1 : current) - 1) * pageSize + index + 1;
78
},
79
...(isFixedLeft
80
? {
0 commit comments