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