Fixed calendar aspect ratio to my liking
This commit is contained in:
parent
e9967ebdc6
commit
bcce516c66
@ -1087,6 +1087,7 @@ class ScheduleCalendarTab extends Component {
|
||||
minute: '2-digit',
|
||||
},
|
||||
firstDay: 1,
|
||||
aspectRatio: 2.5,
|
||||
});
|
||||
this.calendar.render();
|
||||
}
|
||||
@ -1098,7 +1099,7 @@ class ScheduleCalendarTab extends Component {
|
||||
StartDate: info.startStr,
|
||||
EndDate: info.endStr,
|
||||
}
|
||||
_app.current.request('/schedule/list', req)
|
||||
_app.current.request('/schedule/lis', req)
|
||||
.then(data => {
|
||||
const fullcalendarEvents = data.ScheduleEvents.map(sch => {
|
||||
return {
|
||||
@ -1109,6 +1110,7 @@ class ScheduleCalendarTab extends Component {
|
||||
})
|
||||
successCallback(fullcalendarEvents)
|
||||
})
|
||||
.catch(err=>failureCallback(err))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user