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 <ifeanyi@digdippa.com>


Merge-request: CLASSROOMIO-MR-82
Merged-by: Best Admin <best@digdippa.com>
This commit is contained in:
emmanuel
2023-10-03 14:50:21 +00:00
committed by Space Cloud
parent fdab7c4850
commit 5009f22e79
@@ -237,6 +237,7 @@
: 'hidden' : 'hidden'
} lg:flex items-center`} } lg:flex items-center`}
> >
{#if $course.metadata.lessonDownload}
<PrimaryButton <PrimaryButton
className="mb-2 lg:mb-0 mr-2" className="mb-2 lg:mb-0 mr-2"
variant={VARIANTS.OUTLINED} variant={VARIANTS.OUTLINED}
@@ -246,6 +247,7 @@
<Download size={16} class="mr-2" /> <Download size={16} class="mr-2" />
Download PDF Download PDF
</PrimaryButton> </PrimaryButton>
{/if}
<PrimaryButton className="mr-2" variant={VARIANTS.OUTLINED} onClick={toggleMode}> <PrimaryButton className="mr-2" variant={VARIANTS.OUTLINED} onClick={toggleMode}>
{#if isSaving} {#if isSaving}