From af1b3e61a43a243b618dd84c25641c8b35d02660 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Mon, 29 Jul 2024 14:23:17 +0100 Subject: [PATCH] fix: can't grade self paced course --- .../Course/components/Lesson/Exercise/Preview.svelte | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/dashboard/src/lib/components/Course/components/Lesson/Exercise/Preview.svelte b/apps/dashboard/src/lib/components/Course/components/Lesson/Exercise/Preview.svelte index 3e0bec46..5b4684a7 100644 --- a/apps/dashboard/src/lib/components/Course/components/Lesson/Exercise/Preview.svelte +++ b/apps/dashboard/src/lib/components/Course/components/Lesson/Exercise/Preview.svelte @@ -39,7 +39,6 @@ handleGrade={handleGrade(currentQuestion.id)} {disableGrading} disabled={true} - hideGrading={$course.type === COURSE_TYPE.SELF_PACED} /> {:else if QUESTION_TYPE.CHECKBOX === currentQuestion.question_type.id} {:else if QUESTION_TYPE.TEXTAREA === currentQuestion.question_type.id} {/if} {/each}