diff --git a/assets/js/pages/groups/pages/presence.js b/assets/js/pages/groups/pages/presence.js index d64388a0..ba7eb454 100644 --- a/assets/js/pages/groups/pages/presence.js +++ b/assets/js/pages/groups/pages/presence.js @@ -92,6 +92,8 @@ class GroupPresencePage { eventResize: async function(info) { try { await ForezPresenceHelper.UpdateEvents(group.id, info.oldEvent.start, info.oldEvent.end, info.event.start, info.event.end) + + calendar.getEventSources()[0].refetch() } catch(e) { console.error(e); notify(tr("Failed to update presence!"), "danger") @@ -102,6 +104,8 @@ class GroupPresencePage { eventDrop: async function(info) { try { await ForezPresenceHelper.UpdateEvents(group.id, info.oldEvent.start, info.oldEvent.end, info.event.start, info.event.end) + + calendar.getEventSources()[0].refetch() } catch(e) { console.error(e); notify(tr("Failed to update presence!"), "danger")