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:
@@ -237,15 +237,17 @@
|
|||||||
: 'hidden'
|
: 'hidden'
|
||||||
} lg:flex items-center`}
|
} lg:flex items-center`}
|
||||||
>
|
>
|
||||||
<PrimaryButton
|
{#if $course.metadata.lessonDownload}
|
||||||
className="mb-2 lg:mb-0 mr-2"
|
<PrimaryButton
|
||||||
variant={VARIANTS.OUTLINED}
|
className="mb-2 lg:mb-0 mr-2"
|
||||||
onClick={downloadLesson}
|
variant={VARIANTS.OUTLINED}
|
||||||
{isLoading}
|
onClick={downloadLesson}
|
||||||
>
|
{isLoading}
|
||||||
<Download size={16} class="mr-2" />
|
>
|
||||||
Download PDF
|
<Download size={16} class="mr-2" />
|
||||||
</PrimaryButton>
|
Download PDF
|
||||||
|
</PrimaryButton>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<PrimaryButton className="mr-2" variant={VARIANTS.OUTLINED} onClick={toggleMode}>
|
<PrimaryButton className="mr-2" variant={VARIANTS.OUTLINED} onClick={toggleMode}>
|
||||||
{#if isSaving}
|
{#if isSaving}
|
||||||
|
|||||||
Reference in New Issue
Block a user