diff --git a/frontend/components/NewLayout/Courses/CourseCard.tsx b/frontend/components/NewLayout/Courses/CourseCard.tsx index b4d19afab..9725207b3 100644 --- a/frontend/components/NewLayout/Courses/CourseCard.tsx +++ b/frontend/components/NewLayout/Courses/CourseCard.tsx @@ -429,6 +429,9 @@ const CourseCard = React.forwardRef< const courseStudyModule = studyModule ?? course.study_modules[0]?.slug ?? "other" + const linkActive = + course?.status != "Upcoming" || course?.upcoming_active_link + return ( } link={ - course?.link && ( + course?.link && + linkActive && ( {t("showCourse")}