Skip to content

Commit 99721cb

Browse files
committed
Fix #4897
1 parent 0fa7461 commit 99721cb

File tree

1 file changed

+8
-2
lines changed
  • src/shared/components/Leaderboard/LeaderboardTable

1 file changed

+8
-2
lines changed

src/shared/components/Leaderboard/LeaderboardTable/index.jsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default function LeaderboardTable(props) {
122122
}
123123
{
124124
isAlgo ? (
125-
<td styleName={`${stylesName}.col-points`}>{competitor['srm_tco19.score']}</td>
125+
<td styleName={`${stylesName}.col-points`}>{competitor['tco_leaderboard.total_score'] || competitor['srm_tco19.score']}</td>
126126
) : null
127127
}
128128
</tr>
@@ -141,7 +141,13 @@ export default function LeaderboardTable(props) {
141141
<th styleName={`${stylesName}.col-fulfillment`}>Fulfillment</th>
142142
) : null
143143
}
144-
<th styleName={`${stylesName}.col-challenges`}># of Challenges</th>
144+
{
145+
isAlgo ? (
146+
<th styleName={`${stylesName}.col-challenges`}># of Matches</th>
147+
) : (
148+
<th styleName={`${stylesName}.col-challenges`}># of Challenges</th>
149+
)
150+
}
145151
<th styleName={`${stylesName}.col-points`}>Points</th>
146152
{
147153
isTopGear ? (

0 commit comments

Comments
 (0)