Open demsullivan opened 6 years ago
FullCalendar only supports refreshing resources via refetchResource if the resources option is a function or a JSON feed.
refetchResource
Relevant documentation: https://fullcalendar.io/docs/resource_data/refetchResources/ https://fullcalendar.io/docs/resource_data/resources_json_feed/ https://fullcalendar.io/docs/resource_data/resources_function/
This PR wraps options.resource with a function per the FullCalendar documentation if it's passed to the component as an array, so that the observeResources observer works properly.
options.resource
observeResources
FullCalendar only supports refreshing resources via
refetchResource
if the resources option is a function or a JSON feed.Relevant documentation: https://fullcalendar.io/docs/resource_data/refetchResources/ https://fullcalendar.io/docs/resource_data/resources_json_feed/ https://fullcalendar.io/docs/resource_data/resources_function/
This PR wraps
options.resource
with a function per the FullCalendar documentation if it's passed to the component as an array, so that theobserveResources
observer works properly.