Skip to content

Commit

Permalink
Merge pull request #55 from tokomath/fix/grading_page_fix_total_points
Browse files Browse the repository at this point in the history
fix/grading_page
  • Loading branch information
oyajun authored Aug 26, 2024
2 parents 25a60ea + 01f9bae commit 334894c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/teacher/grading/[testid]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -521,11 +521,11 @@ export default function GradingPage({ params }: { params: { testid: number } })

{/* 合計ポイントを表示するセル */}
<TableCell key={"totalPoints-" + user_index} sx={{ textAlign: "center" }} className={styles.point_cell}>
{calculateUserTotalPoints(user_index)}
{calculateUserTotalPoints(submission_index[user_index])}
</TableCell>

{/*未採点問題数を表示するセル*/}
<UngradedCountCell user_index={user_index} ungraded_count={countUngraded(user_index)}/>
<UngradedCountCell user_index={user_index} ungraded_count={countUngraded(submission_index[user_index])}/>

{
(function () {
Expand Down

0 comments on commit 334894c

Please sign in to comment.