fix bug calendar navigation

This commit is contained in:
Julie Lenaerts 2022-11-21 11:09:06 +01:00
parent aae1fbf7e6
commit ac42fdff25

View File

@ -70,7 +70,7 @@
</div>
</div>
<FullCalendar :options="calendarOptions" ref="calendarRef">
<template v-slot:eventContent="arg: EventApi">
<template v-slot="arg: EventApi">
<span :class="eventClasses(arg.event)">
<b v-if="arg.event.extendedProps.is === 'remote'">{{ arg.event.title}}</b>
<b v-else-if="arg.event.extendedProps.is === 'range'">{{ arg.timeText }} - {{ arg.event.extendedProps.locationName }}</b>
@ -165,6 +165,14 @@ const baseOptions = ref<CalendarOptions>({
eventClick: onEventClick,
selectMirror: false,
editable: true,
customButtons: {
prevWeek: {
text: '<',
click: function() {
}
}
},
headerToolbar: {
left: 'prev,next today',
center: 'title',