From 377b406ad35f50c7556a09daa2c847287a04474c Mon Sep 17 00:00:00 2001 From: Harsh Khandeparkar Date: Sat, 30 Dec 2023 16:47:40 +0530 Subject: [PATCH] feat: display end evals failed if mid evals failed --- src/pages/StudentDashboard.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/StudentDashboard.tsx b/src/pages/StudentDashboard.tsx index 89b9e6ea..51f6c150 100644 --- a/src/pages/StudentDashboard.tsx +++ b/src/pages/StudentDashboard.tsx @@ -180,6 +180,8 @@ function StudentDashboard() { Passed ) : END_EVALS_ENDED ? ( Failed + ) : END_EVALS_ENDED || !dashboard?.passed_mid_evals ? ( + Failed ) : ( Pending )}