We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0446534 + 555584e commit c096332Copy full SHA for c096332
apps/site/src/app/admin/scores/Scores.tsx
@@ -115,7 +115,12 @@ function Scores() {
115
[applicantList],
116
);
117
118
- const sorted = sortApplicantsByNormalizedScore(filteredApplicants);
+ const sorted = sortApplicantsByNormalizedScore(filteredApplicants).map(
119
+ (item, index) => ({
120
+ ...item,
121
+ rowIndex: index + 1,
122
+ }),
123
+ );
124
125
const handleClick = () => {
126
axios
@@ -162,6 +167,12 @@ function Scores() {
162
167
<Table
163
168
loading={loading}
164
169
columnDefinitions={[
170
+ {
171
+ id: "index",
172
+ header: "#",
173
+ cell: (item) => item.rowIndex,
174
+ width: 60,
175
+ },
165
176
{
166
177
id: "name",
178
header: "Name",
0 commit comments