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" />
|
||||||
|
@ -8,8 +8,13 @@
|
||||||
Alle {{ store.user_doors.length }} Türchen offen!
|
Alle {{ store.user_doors.length }} Türchen offen!
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
{{ store.user_doors.length }} Türchen offen. Zeit bis zum nächsten
|
<template v-if="store.user_doors.length === 0">
|
||||||
Türchen:
|
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" />
|
<CountDown :until="store.next_door_target" />
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue