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
|
typeof FullCalendar
|
||||||
>;
|
>;
|
||||||
const calendar = calendarComponent.getApi() as Calendar;
|
const calendar = calendarComponent.getApi() as Calendar;
|
||||||
calendar.getEventSources().map((es) => {
|
calendar.refetchEvents();
|
||||||
es.refetch();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
eventDataTransform(eventData: EventInput): EventInput | false {
|
eventDataTransform(eventData: EventInput): EventInput | false {
|
||||||
|
Loading…
Reference in New Issue
Block a user