mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-03 14:37:44 +00:00
fix bug calendar navigation
This commit is contained in:
parent
aae1fbf7e6
commit
ac42fdff25
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user