mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 00:03:07 +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 "Nur Groß-/Kleinbuchstaben" (standard nur groß)
|
||||||
- Option "Leerzeichen ignorieren" (standard ja)
|
- Option "Leerzeichen ignorieren" (standard ja)
|
||||||
- Option "custom Zuordnung Buchstaben" (standard leer)
|
- Option "custom Zuordnung Buchstaben" (standard leer)
|
||||||
|
|
||||||
|
# Fixed
|
||||||
|
|
||||||
- Lösungsbuchstaben weniger als türchen erzeugt bug
|
- Lösungsbuchstaben weniger als türchen erzeugt bug
|
|
@ -64,6 +64,8 @@ async def get_all_parts(
|
||||||
result[day] = result.get(day, "")
|
result[day] = result.get(day, "")
|
||||||
result[day] += letter
|
result[day] += letter
|
||||||
|
|
||||||
|
result |= {missed_day: "" for missed_day in set(days) - set(result.keys())}
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,13 +6,14 @@
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h4>Zuordnung Buchstaben</h4>
|
<h4>Zuordnung Buchstaben</h4>
|
||||||
<div class="tags are-medium">
|
<div class="tags are-medium">
|
||||||
<span
|
<template
|
||||||
v-for="(day_part, index) in day_parts"
|
v-for="(day_part, index) in day_parts"
|
||||||
:key="`part-${index}`"
|
:key="`part-${index}`"
|
||||||
class="tag is-info"
|
|
||||||
>
|
>
|
||||||
{{ day_part.day }}: {{ day_part.value.split("").join(", ") }}
|
<span v-if="day_part.value !== ''" class="tag is-info">
|
||||||
</span>
|
{{ day_part.day }}: {{ day_part.value.split("").join(", ") }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4>Zuordnung Bilder</h4>
|
<h4>Zuordnung Bilder</h4>
|
||||||
|
|
Loading…
Reference in a new issue