diff --git a/timesheet/js/app.js b/timesheet/js/app.js index 4b940714a9..c21c71377d 100644 --- a/timesheet/js/app.js +++ b/timesheet/js/app.js @@ -199,7 +199,7 @@ var TimesheetApp = /** @class */ (function (_super) { if (typeof this._grants === 'undefined') { this._grants = egw.grants(this.appname); } - if (typeof this._grants[pushData.acl] === 'undefined') + if (typeof this._grants[pushData.acl.ts_owner] === 'undefined') return; // check if we might not see it because of an owner filter var nm = (_a = this.et2) === null || _a === void 0 ? void 0 : _a.getWidgetById('nm'); diff --git a/timesheet/js/app.ts b/timesheet/js/app.ts index 2f5eb76414..a76a98e10e 100644 --- a/timesheet/js/app.ts +++ b/timesheet/js/app.ts @@ -231,7 +231,7 @@ class TimesheetApp extends EgwApp { this._grants = egw.grants(this.appname); } - if (typeof this._grants[pushData.acl] === 'undefined') return; + if (typeof this._grants[pushData.acl.ts_owner] === 'undefined') return; // check if we might not see it because of an owner filter let nm = this.et2?.getWidgetById('nm');