fix: can't grade self paced course
This commit is contained in:
@@ -39,7 +39,6 @@
|
|||||||
handleGrade={handleGrade(currentQuestion.id)}
|
handleGrade={handleGrade(currentQuestion.id)}
|
||||||
{disableGrading}
|
{disableGrading}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
hideGrading={$course.type === COURSE_TYPE.SELF_PACED}
|
|
||||||
/>
|
/>
|
||||||
{:else if QUESTION_TYPE.CHECKBOX === currentQuestion.question_type.id}
|
{:else if QUESTION_TYPE.CHECKBOX === currentQuestion.question_type.id}
|
||||||
<CheckboxQuestion
|
<CheckboxQuestion
|
||||||
@@ -60,7 +59,6 @@
|
|||||||
handleGrade={handleGrade(currentQuestion.id)}
|
handleGrade={handleGrade(currentQuestion.id)}
|
||||||
{disableGrading}
|
{disableGrading}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
hideGrading={$course.type === COURSE_TYPE.SELF_PACED}
|
|
||||||
/>
|
/>
|
||||||
{:else if QUESTION_TYPE.TEXTAREA === currentQuestion.question_type.id}
|
{:else if QUESTION_TYPE.TEXTAREA === currentQuestion.question_type.id}
|
||||||
<TextareaQuestion
|
<TextareaQuestion
|
||||||
@@ -81,7 +79,6 @@
|
|||||||
handleGrade={handleGrade(currentQuestion.id)}
|
handleGrade={handleGrade(currentQuestion.id)}
|
||||||
{disableGrading}
|
{disableGrading}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
hideGrading={$course.type === COURSE_TYPE.SELF_PACED}
|
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Reference in New Issue
Block a user