From 5009f22e792f0ee2d4df15191ae1427e8e6bef4c Mon Sep 17 00:00:00 2001 From: emmanuel Date: Tue, 3 Oct 2023 14:50:21 +0000 Subject: [PATCH] CLASSROOMIO-T-186: Sync the settings with the lesson download CLASSROOMIO-T-186:removed unused import CLASSROOMIO-T-186:Sync the settings with the lesson download Co-authored-by: Ifeanyi Nwosu Merge-request: CLASSROOMIO-MR-82 Merged-by: Best Admin --- .../lessons/[...lessonParams]/+page.svelte | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/routes/courses/[id]/lessons/[...lessonParams]/+page.svelte b/src/routes/courses/[id]/lessons/[...lessonParams]/+page.svelte index 72da2f31..be7da44e 100644 --- a/src/routes/courses/[id]/lessons/[...lessonParams]/+page.svelte +++ b/src/routes/courses/[id]/lessons/[...lessonParams]/+page.svelte @@ -237,15 +237,17 @@ : 'hidden' } lg:flex items-center`} > - - - Download PDF - + {#if $course.metadata.lessonDownload} + + + Download PDF + + {/if} {#if isSaving}