mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-22 15:53:01 +00:00
bugfix: missing content when no doors open
This commit is contained in:
parent
0a095f3a0a
commit
859f9586d3
1 changed files with 8 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<template v-if="store.user_doors.length > 0">
|
||||
<template v-if="store.is_initialized === true">
|
||||
<Calendar :doors="store.user_doors" />
|
||||
<hr />
|
||||
<div class="content" v-html="store.site_config.content" />
|
||||
|
@ -8,8 +8,13 @@
|
|||
Alle {{ store.user_doors.length }} Türchen offen!
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ store.user_doors.length }} Türchen offen. Zeit bis zum nächsten
|
||||
Türchen:
|
||||
<template v-if="store.user_doors.length === 0">
|
||||
Zeit bis zum ersten Türchen:
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ store.user_doors.length }} Türchen offen. Zeit bis zum nächsten
|
||||
Türchen:
|
||||
</template>
|
||||
<CountDown :until="store.next_door_target" />
|
||||
</template>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue