mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 00:03:07 +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>
|
||||||
<template v-if="store.user_doors.length > 0">
|
<template v-if="store.is_initialized === true">
|
||||||
<Calendar :doors="store.user_doors" />
|
<Calendar :doors="store.user_doors" />
|
||||||
<hr />
|
<hr />
|
||||||
<div class="content" v-html="store.site_config.content" />
|
<div class="content" v-html="store.site_config.content" />
|
||||||
|
@ -7,9 +7,14 @@
|
||||||
<template v-if="store.next_door_target === null">
|
<template v-if="store.next_door_target === null">
|
||||||
Alle {{ store.user_doors.length }} Türchen offen!
|
Alle {{ store.user_doors.length }} Türchen offen!
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<template v-if="store.user_doors.length === 0">
|
||||||
|
Zeit bis zum ersten Türchen:
|
||||||
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
{{ store.user_doors.length }} Türchen offen. Zeit bis zum nächsten
|
{{ store.user_doors.length }} Türchen offen. Zeit bis zum nächsten
|
||||||
Türchen:
|
Türchen:
|
||||||
|
</template>
|
||||||
<CountDown :until="store.next_door_target" />
|
<CountDown :until="store.next_door_target" />
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue