scoutforpets / ember-fullcalendar

An Ember Component for FullCalendar and FullCalendar Scheduler
MIT License
39 stars 45 forks source link

adds null check before adding event source #68

Closed jamesdixon closed 7 years ago

jamesdixon commented 7 years ago

There appears to be a lingering bug in FC versions 3.5.0+ that was causing an error when adding an event source. Previously, if the event source being added was null, FC just ignored it. With versions 3.5+, an error occurs. This was evidently fixed, but still running into.

Tracking issue: https://github.com/fullcalendar/fullcalendar/issues/3845

Added a null check to only add event sources if they aren't null/undefined.