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.
1 parent 114259b commit 555584eCopy full SHA for 555584e
apps/site/src/app/admin/scores/Scores.tsx
@@ -107,7 +107,12 @@ function Scores() {
107
[applicantList],
108
);
109
110
- const sorted = sortApplicantsByNormalizedScore(filteredApplicants);
+ const sorted = sortApplicantsByNormalizedScore(filteredApplicants).map(
111
+ (item, index) => ({
112
+ ...item,
113
+ rowIndex: index + 1,
114
+ }),
115
+ );
116
117
const handleClick = () => {
118
axios
@@ -154,6 +159,12 @@ function Scores() {
154
159
<Table
155
160
loading={loading}
156
161
columnDefinitions={[
162
+ {
163
+ id: "index",
164
+ header: "#",
165
+ cell: (item) => item.rowIndex,
166
+ width: 60,
167
+ },
157
168
{
158
169
id: "name",
170
header: "Name",
0 commit comments