Skip to content

Commit

Permalink
feat: check if mid evals ended
Browse files Browse the repository at this point in the history
  • Loading branch information
Bikram-ghuku committed Dec 10, 2024
1 parent d8a6001 commit 82c73e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/StudentDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ function StudentDashboard() {
<span style={{ color: "#68D391" }}>Passed</span>
) : END_EVALS_ENDED ? (
<span style={{ color: "#F56565" }}>Failed</span>
) : END_EVALS_ENDED || !dashboard?.passed_mid_evals ? (
) : END_EVALS_ENDED || (!dashboard?.passed_mid_evals && MID_EVALS_ENDED) ? (
<span style={{ color: "#F56565" }}>Failed</span>
) : (
<span style={{ color: "#F6E05E" }}>Pending</span>
Expand Down

0 comments on commit 82c73e5

Please sign in to comment.