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 <[email protected]>


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