diff --git a/frontend/src/lib/components/tests/typingbox.svelte b/frontend/src/lib/components/tests/typingbox.svelte index 9bdd821c2dde54bb11606b522d05c8d1851b8a97..9f0052da79d48bec7821afa64ed536d50dab3f64 100644 --- a/frontend/src/lib/components/tests/typingbox.svelte +++ b/frontend/src/lib/components/tests/typingbox.svelte @@ -62,6 +62,7 @@ rid, user?.id || null, typingTest.id, + user?.study_id ?? 0, position, downtime, uptime, diff --git a/frontend/src/lib/components/tests/typingtest.svelte b/frontend/src/lib/components/tests/typingtest.svelte index 8dc8a3ac64439efd2575501c2c7242cc66523ffc..3b8762cb30afe68ffa11b418315fd60e758ea6af 100644 --- a/frontend/src/lib/components/tests/typingtest.svelte +++ b/frontend/src/lib/components/tests/typingtest.svelte @@ -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} diff --git a/frontend/src/routes/register/[[studyId]]/+page.svelte b/frontend/src/routes/register/[[studyId]]/+page.svelte index 84b646af6a0f51dd17fb79dd2aa6a4cbc1105802..1c4223dca0015f7f33750f444439d990632d2284 100644 --- a/frontend/src/routes/register/[[studyId]]/+page.svelte +++ b/frontend/src/routes/register/[[studyId]]/+page.svelte @@ -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 = '/')}>