Skip to content

Commit 1422386

Browse files
committed
For approvers show final score if available
1 parent c0de22c commit 1422386

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/apps/review/src/lib/components/common/TableColumnRenderers.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ export function renderReviewScoreCell(
253253
}
254254

255255
const rawScoreDisplay = submission.aggregated?.averageFinalScoreDisplay
256-
if (!rawScoreDisplay) {
256+
const aggregateScore = submission.aggregateScore
257+
if (!rawScoreDisplay && !aggregateScore) {
257258
return (
258259
<span className={styles.notReviewed}>
259260
--
@@ -276,7 +277,7 @@ export function renderReviewScoreCell(
276277
)
277278
}
278279

279-
return <span>{rawScoreDisplay}</span>
280+
return <span>{rawScoreDisplay || aggregateScore}</span>
280281
}
281282

282283
interface ReviewerDisplayData {

0 commit comments

Comments
 (0)