mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-12-23 21:22:59 +00:00
bug: issue with short solutions
This commit is contained in:
parent
82ab9ccddc
commit
eef06ed131
3 changed files with 10 additions and 4 deletions
3
Ideen.md
3
Ideen.md
|
@ -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
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue