Skip to content
Extraits de code Groupes Projets
Valider 5b84229a rédigé par DavePk04's avatar DavePk04
Parcourir les fichiers

Typingbox: Added 'study_id' attribut on sendTestEntryTypingAPI

parent f5504078
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -62,6 +62,7 @@
rid,
user?.id || null,
typingTest.id,
user?.study_id ?? 0,
position,
downtime,
uptime,
......
......@@ -119,20 +119,20 @@
{@const j = step - 1}
{#each exercices as _, i (i)}
{#if i === j}
<Typingbox
exerciceId={i}
initialDuration={exercices[i].duration}
explications={exercices[i].explications}
text={exercices[i].text}
bind:data
bind:inProgress
onFinish={() => {
inProgress = false;
setTimeout(() => {
step++;
}, 3000);
}}
/>
<Typingbox
exerciceId={i}
initialDuration={exercices[i].duration}
explications={exercices[i].explications}
text={exercices[i].text}
bind:data
bind:inProgress
onFinish={() => {
inProgress = false;
setTimeout(() => {
step++;
}, 3000);
}}
/>
{/if}
{/each}
{:else}
......
......@@ -615,7 +615,7 @@
<p class="text-center">
{@html $t('register.continue')}
</p>
<button class="button mt-4 w-full" onclick={() => (current_step = 6)}>
<button class="button mt-4 w-full" onclick={() => (current_step = 8)}>
{$t('register.continueButton')}
</button>
<button class="button mt-4 w-full" onclick={() => (document.location.href = '/')}>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter