mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-04 12:24:09 +01:00
Fixed multiple issues in calendar views.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
<EventForm
|
||||
:info="selectInfo"
|
||||
:event="selectedEvent"
|
||||
@refresh-calendar="refreshCalendarEvents"
|
||||
@close="closeEventForm"
|
||||
/>
|
||||
</v-dialog>
|
||||
@@ -183,9 +184,9 @@ function fetchUserCalendars() {
|
||||
})
|
||||
}
|
||||
|
||||
function refreshCalendarEvents(calendar) {
|
||||
function refreshCalendarEvents(calendarPk) {
|
||||
const fullc = calendarRef.value.getApi()
|
||||
const evtSource = fullc.getEventSourceById(`user-${calendar.pk}`)
|
||||
const evtSource = fullc.getEventSourceById(`user-${calendarPk}`)
|
||||
evtSource.refetch()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user