Use calendar.refreshEvents() instead of refreshing each event source
This commit is contained in:
parent
37e814580a
commit
a252b61316
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user