We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8a6001 commit 82c73e5Copy full SHA for 82c73e5
src/pages/StudentDashboard.tsx
@@ -303,7 +303,7 @@ function StudentDashboard() {
303
<span style={{ color: "#68D391" }}>Passed</span>
304
) : END_EVALS_ENDED ? (
305
<span style={{ color: "#F56565" }}>Failed</span>
306
- ) : END_EVALS_ENDED || !dashboard?.passed_mid_evals ? (
+ ) : END_EVALS_ENDED || (!dashboard?.passed_mid_evals && MID_EVALS_ENDED) ? (
307
308
) : (
309
<span style={{ color: "#F6E05E" }}>Pending</span>
0 commit comments