Skip to content
Snippets Groups Projects
Commit e28eb4f7 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix: fix rendering bugs when switching between day/week view in calendar

fixes #153
parent cf5ac12e
No related branches found
No related tags found
No related merge requests found
Pipeline #3476 passed
......@@ -77,14 +77,16 @@
<server-errors :errors="serverErrors" />
<div class="tw-h-full">
<div class="tw-h-full" :class="{ 'tw-hidden': view !== 'week' }">
<FullCalendar ref="calendar" :options="calendarConfig" />
</div>
<KeepAlive>
<div v-if="view === 'week'" class="tw-h-full">
<FullCalendar ref="calendar" :options="calendarConfig" />
</div>
</KeepAlive>
<div
v-if="view === 'day'"
:class="{
'schedule-panel tw-w-full': true,
'tw-hidden': view !== 'day',
}"
>
<div class="tw-flex tw-items-center tw-justify-between tw-mb-4">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment