[feat]Read fullcalendar license key from ENV

This commit is contained in:
Jimmy 2021-04-30 17:58:52 +08:00
parent a35badb2ca
commit c223959ffb
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6
4 changed files with 8 additions and 1 deletions

View file

@ -4,6 +4,7 @@ $( document ).ready(function() {
let fullcalData = $('#fullcalendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
schedulerLicenseKey: fullcalData.data('schedulerLicenseKey'),
expandRows: true,
allDaySlot: false,
slotMinTime: fullcalData.data('startHour') + ':00:00',