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

fix: ensure slotDuration always has acceptable format

parent 4c90f277
No related branches found
No related tags found
No related merge requests found
......@@ -361,7 +361,7 @@ export default {
select: this.createEvent,
selectable: true,
selectMirror: true,
slotDuration: `00:${slotDurationMinutes}:00`,
slotDuration: `00:${slotDurationMinutes.toString().padStart(2, '0')}:00`,
eventMinHeight: 1,
selectAllow({ start }) {
return start >= getClosestSlot(slotDurationMinutes)
......
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