From 9aa2d771177ee44e220f856d3dc9cf84416cdba1 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Sat, 14 Sep 2024 21:27:52 +0100 Subject: [PATCH] fix: course landing page not rendering lessons --- .../src/lib/components/CourseLandingPage/index.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/src/lib/components/CourseLandingPage/index.svelte b/apps/dashboard/src/lib/components/CourseLandingPage/index.svelte index 4d466911..b4690710 100644 --- a/apps/dashboard/src/lib/components/CourseLandingPage/index.svelte +++ b/apps/dashboard/src/lib/components/CourseLandingPage/index.svelte @@ -293,7 +293,7 @@ {/if} - {#if $course.version === COURSE_VERSION.V1} + {#if courseData.version === COURSE_VERSION.V1}

@@ -318,7 +318,7 @@ {/each}

- {:else if $course.version === COURSE_VERSION.V2} + {:else if courseData.version === COURSE_VERSION.V2}