Fixed text

This commit is contained in:
glazk0 2024-04-03 17:05:17 +02:00
parent 19fd4af14f
commit 4384e9b0c7
No known key found for this signature in database
GPG key ID: E45BF177782B9FEB

View file

@ -16,7 +16,7 @@
<h2 class="text-xl font-semibold">{data.chapter.name}</h2>
{#if data.chapter?.puzzles?.length}
<p class="text-muted-foreground">
Ils vous restent {data.chapter.puzzles.filter((p) => p.score).length} puzzles à résoudre sur
Ils vous restent {data.chapter.puzzles.filter((p) => !p.score).length} puzzles à résoudre sur
un total de {data.chapter.puzzles.length}
</p>
{:else}