Fixed Agenda

This commit is contained in:
Ferdinand Thiessen 2021-03-19 14:35:34 +01:00
parent dbcd1b2c5f
commit 26148f8827
1 changed files with 3 additions and 3 deletions

View File

@ -39,8 +39,8 @@
stretch stretch
toggle-color="" toggle-color=""
:options="[ :options="[
{ label: 'Tag', value: 'day-agenda' }, { label: 'Tag', value: 'day' },
{ label: 'Woche', value: 'week-agenda' }, { label: 'Woche', value: 'week' },
]" ]"
/> />
</q-toolbar> </q-toolbar>
@ -52,7 +52,7 @@
locale="de-de" locale="de-de"
style="height: 100%; min-height: 400px" style="height: 100%; min-height: 400px"
> >
<template #day-body="{ timestamp }" style="min-height: 200px"> <template #day="{ scope: { timestamp } }" style="min-height: 200px">
<template v-if="!getAgenda(timestamp)" style="min-height: 200px"> </template> <template v-if="!getAgenda(timestamp)" style="min-height: 200px"> </template>
<template v-for="agenda in getAgenda(timestamp)" :key="agenda.id"> <template v-for="agenda in getAgenda(timestamp)" :key="agenda.id">
<eventslot :event="agenda" /> <eventslot :event="agenda" />