bugfix: missing content when no doors open

This commit is contained in:
Jörn-Michael Miehe 2023-11-21 23:31:40 +00:00
parent 0a095f3a0a
commit 859f9586d3

View file

@ -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" />
@ -7,9 +7,14 @@
<template v-if="store.next_door_target === null">
Alle {{ store.user_doors.length }} Türchen offen!
</template>
<template v-else>
<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>