bug: issue with short solutions

This commit is contained in:
Jörn-Michael Miehe 2023-09-20 16:39:00 +02:00
parent 82ab9ccddc
commit eef06ed131
3 changed files with 10 additions and 4 deletions

View file

@ -6,4 +6,7 @@
- Option "Nur Groß-/Kleinbuchstaben" (standard nur groß)
- Option "Leerzeichen ignorieren" (standard ja)
- Option "custom Zuordnung Buchstaben" (standard leer)
# Fixed
- Lösungsbuchstaben weniger als türchen erzeugt bug

View file

@ -64,6 +64,8 @@ async def get_all_parts(
result[day] = result.get(day, "")
result[day] += letter
result |= {missed_day: "" for missed_day in set(days) - set(result.keys())}
return result

View file

@ -6,13 +6,14 @@
<div class="content">
<h4>Zuordnung Buchstaben</h4>
<div class="tags are-medium">
<span
<template
v-for="(day_part, index) in day_parts"
:key="`part-${index}`"
class="tag is-info"
>
{{ day_part.day }}: {{ day_part.value.split("").join(", ") }}
</span>
<span v-if="day_part.value !== ''" class="tag is-info">
{{ day_part.day }}: {{ day_part.value.split("").join(", ") }}
</span>
</template>
</div>
<h4>Zuordnung Bilder</h4>