Skip to content

Commit d7d4da3

Browse files
authored
Merge pull request #2135 from lumi-tip/main-lumi-9615
only show available programs that are actually available
2 parents 8081eaa + 72eec5a commit d7d4da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ProgramsDashboard/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function ProgramsDashboard({ cohorts, setLateModalProps }) {
3333
const marketingCourses = marketingCursesList?.filter(
3434
(item) => !activeCohorts.some(
3535
(cohort) => cohort.slug === item?.cohort?.slug,
36-
) && item?.course_translation?.title,
36+
) && item?.course_translation?.title && item?.visibility === 'PUBLIC',
3737
);
3838

3939
useEffect(() => {

0 commit comments

Comments
 (0)