ui: Redraw the whole exercices when tag changes

This commit is contained in:
nemunaire 2024-09-18 11:00:03 +02:00
parent 0669f74395
commit 5a4960f9ad

View File

@ -45,6 +45,7 @@
{#if exercices.length}
<Row cols="3">
{#key exercices}
{#each exercices as {theme, exercice, index} (index)}
<Col class="mb-3">
<CardTheme
@ -54,6 +55,7 @@
/>
</Col>
{/each}
{/key}
</Row>
{:else}
<p class="lead">