From a252b61316bea581f4baf285d89d2f2ecb5ccb13 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 1 Apr 2021 13:55:33 -0400 Subject: [PATCH] Use calendar.refreshEvents() instead of refreshing each event source --- src/App.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 {