ui: Don't count label in flag count
This commit is contained in:
parent
b79fe47f00
commit
18b8f0f722
@ -161,7 +161,7 @@
|
||||
class="rounded-0"
|
||||
barClassName="text-light"
|
||||
>
|
||||
{exercice.flags.length}/{exercice.nb_flags}
|
||||
{exercice.flags.filter((f) => f.type != "label").length}/{exercice.nb_flags}
|
||||
</Progress>
|
||||
{/if}
|
||||
{#if exercice.tries || exercice.solved_time || exercice.submitted || sberr || timeouted}
|
||||
|
Loading…
x
Reference in New Issue
Block a user