Kalender Update

* Richtigstellung Calender Filter Events
This commit is contained in:
Daniel Spitzer
2025-05-13 20:00:11 +02:00
parent d73bec0375
commit 53c188955e
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -1013,15 +1013,13 @@ if (typeof (EventSource) !== 'undefined') {
}
});
jsondata = JSON.parse(e.data);
jsondata.forEach(function (event) {
if (!visibleCalendars.includes(parseInt(event.calendar_id))) {
return;
}
if (visibleCalendarTypes.length > 0 && !visibleCalendarTypes.includes(parseInt(event.event_type))) {
if (visibleCalendarTypes.length > 0 && !visibleCalendarTypes.includes(parseInt(event.event_type)) && event.change_type != '3') {
return;
}
let cevent = calendar.getEventById(event.cal_events_id);
let rights = false;
let movable = false;