Display mcq and ucq corrections
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8acdf30ba4
commit
e0cd502c35
4 changed files with 54 additions and 14 deletions
|
|
@ -90,6 +90,7 @@
|
|||
if (data.action && data.action == "new_question") {
|
||||
show_question = data.question;
|
||||
survey.corrected = data.corrected;
|
||||
corrections = data.corrections;
|
||||
if (timer_cancel) {
|
||||
clearInterval(timer_cancel);
|
||||
timer_cancel = null;
|
||||
|
|
@ -156,6 +157,8 @@
|
|||
});
|
||||
});
|
||||
}
|
||||
|
||||
let corrections = {};
|
||||
</script>
|
||||
|
||||
{#await surveyP then unused}
|
||||
|
|
@ -189,6 +192,7 @@
|
|||
{survey}
|
||||
{question}
|
||||
readonly={timer >= 100 || survey.corrected}
|
||||
{corrections}
|
||||
bind:value={value}
|
||||
on:change={sendValue}
|
||||
>
|
||||
|
|
|
|||
Reference in a new issue