Timesheet: ACL data changed is an object

This commit is contained in:
nathangray 2020-07-29 09:51:48 -06:00
parent 14c908de78
commit c5f03f6413
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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 = <et2_nextmatch>this.et2?.getWidgetById('nm');