Skip to content

Commit

Permalink
feat: display end evals failed if mid evals failed
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Dec 30, 2023
1 parent ace1b26 commit 377b406
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/StudentDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ function StudentDashboard() {
<span className="text-green-300">Passed</span>
) : END_EVALS_ENDED ? (
<span className="text-red-500">Failed</span>
) : END_EVALS_ENDED || !dashboard?.passed_mid_evals ? (
<span className="text-red-500">Failed</span>
) : (
<span className="text-yellow-400">Pending</span>
)}
Expand Down

0 comments on commit 377b406

Please sign in to comment.