mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
Timesheet: ACL data changed is an object
This commit is contained in:
parent
14c908de78
commit
c5f03f6413
@ -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');
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user