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

fix: improve rendering of very short timeslots (i.e. jingles or announcements)

fixes #151
parent 13d655ba
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,7 @@ export default {
*/
calendarConfig() {
const selectDay = this.selectDay.bind(this)
const slotDurationMinutes = 15
return {
plugins: [fullCalendarTimeGridPlugin, fullCalendarInteractionPlugin],
......@@ -358,6 +359,8 @@ export default {
select: this.createEvent,
selectable: true,
selectMirror: true,
slotDuration: `00:${slotDurationMinutes}:00`,
eventMinHeight: 1,
selectAllow({ start }) {
return start > new Date()
},
......
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