ui: Fill correctly the field containing a link to the exercice

This commit is contained in:
nemunaire 2023-04-03 23:09:34 +02:00
commit 0c7eecf315

View file

@ -9,6 +9,12 @@
export let exercice = null;
export let issue = { };
$: if (exercice != null) {
issue.id_exercice = exercice.id;
} else {
issue.id_exercice = undefined;
}
</script>
<form on:submit|preventDefault>