mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
Calendar: Fix resource rows were missing in planner by user
This commit is contained in:
parent
29b22e336e
commit
ad7b0a2696
@ -124,7 +124,7 @@ var et2_calendar_planner = /** @class */ (function (_super) {
|
||||
this.invalidate();
|
||||
}, this);
|
||||
}
|
||||
else if (already_added.indexOf('' + user) < 0 && parseInt(user) >= 0) {
|
||||
else if (already_added.indexOf('' + user) < 0 && (isNaN(user) || parseInt(user) >= 0)) {
|
||||
labels.push({
|
||||
id: user,
|
||||
label: this._get_owner_name(user),
|
||||
|
@ -453,7 +453,7 @@ export class et2_calendar_planner extends et2_calendar_view implements et2_IDeta
|
||||
this.invalidate();
|
||||
},this);
|
||||
}
|
||||
else if(already_added.indexOf(''+user) < 0 && parseInt(user) >= 0)
|
||||
else if(already_added.indexOf(''+user) < 0 && (isNaN(user) || parseInt(user) >= 0))
|
||||
{
|
||||
labels.push({
|
||||
id: user,
|
||||
|
Loading…
Reference in New Issue
Block a user