From 5a4960f9ada2bd494a3e6d0b21aa5f9fb6e43151 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Wed, 18 Sep 2024 11:00:03 +0200 Subject: [PATCH] ui: Redraw the whole exercices when tag changes --- frontend/fic/src/routes/tags/[tag]/+page.svelte | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/fic/src/routes/tags/[tag]/+page.svelte b/frontend/fic/src/routes/tags/[tag]/+page.svelte index 1425e190..a16a5704 100644 --- a/frontend/fic/src/routes/tags/[tag]/+page.svelte +++ b/frontend/fic/src/routes/tags/[tag]/+page.svelte @@ -45,6 +45,7 @@ {#if exercices.length} + {#key exercices} {#each exercices as {theme, exercice, index} (index)} {/each} + {/key} {:else}