diff --git a/frontend/src/routes/evaluation/+page.svelte b/frontend/src/routes/evaluation/+page.svelte index 4fccf01..2862e7e 100644 --- a/frontend/src/routes/evaluation/+page.svelte +++ b/frontend/src/routes/evaluation/+page.svelte @@ -3,11 +3,12 @@ import { goto } from "$app/navigation"; let evaluationText:string = "" + let submittedEval: boolean = false const handleEvaluationSubmit = async () => { if (evaluationText) { await postEvaluationData(evaluationText) - goto("/") + submittedEval = true } else { console.log("error"); } @@ -22,13 +23,24 @@
Har du tid så setter vi veldig pris på om du skrevet en liten tilbakemelding til oss i tekstfeltet under:
-