Calendar: If we don't have a sidebox to check parent, just accept it

Fixes missing events in group calendars on home
This commit is contained in:
nathan 2022-01-18 13:06:39 -07:00
parent f2d187353a
commit b65e97c087
2 changed files with 9 additions and 0 deletions

View File

@ -965,6 +965,10 @@ var et2_calendar_event = /** @class */ (function (_super) {
[parent.options.owner] :
parent.options.owner);
owner_match = false;
if (!options) {
// Could not find the owner options. Probably on home, just let it go.
owner_match = true;
}
var length_1 = parent_owner.length;
for (var i = 0; i < length_1; i++) {
// Handle groups & grouped resources like mailing lists, they won't match so

View File

@ -1233,6 +1233,11 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached
[parent.options.owner] :
parent.options.owner);
owner_match = false;
if(!options)
{
// Could not find the owner options. Probably on home, just let it go.
owner_match = true;
}
const length = parent_owner.length;
for(var i = 0; i < length; i++ )
{