diff --git a/src/App.vue b/src/App.vue index 0e8857c..f64d6ad 100644 --- a/src/App.vue +++ b/src/App.vue @@ -79,9 +79,7 @@ export default class App extends Vue { typeof FullCalendar >; const calendar = calendarComponent.getApi() as Calendar; - calendar.getEventSources().map((es) => { - es.refetch(); - }); + calendar.refetchEvents(); } eventDataTransform(eventData: EventInput): EventInput | false {