Calendar: Fix calendars on Home did not load due to app.calendar being missing

This commit is contained in:
nathan 2023-04-03 08:50:21 -06:00
parent fc003c613b
commit de4b2746e5

View File

@ -380,7 +380,7 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
{
let event : any = egw.dataGetUIDdata('calendar::' + event_ids[i]);
event = event && event.data || false;
waitForGroups.push((<CalendarApp>app.calendar)._fetch_group_members(event).then(() =>
waitForGroups.push(((<CalendarApp>this.getInstanceManager().app_obj.calendar)._fetch_group_members(event)).then(() =>
{
if(event && event.date && et2_calendar_event.owner_check(event, this) && (
event.date === this.options.date ||