mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
Calendar: Fix group calendar could be missing events under some circumstances
Static account options added to CalendarOwner were blocking the group data needed, fixed by using sent options over account options
This commit is contained in:
parent
0e8e46f44e
commit
d6739afe8b
@ -53,7 +53,7 @@ export const Et2StaticSelectMixin = <T extends Constructor<Et2WidgetWithSelect>>
|
||||
const options = super.select_options || [];
|
||||
// make sure result is unique
|
||||
|
||||
return [...new Map([...options, ...(this.static_options || [])].map(item =>
|
||||
return [...new Map([...(this.static_options || []), ...options].map(item =>
|
||||
[item.value, item])).values()];
|
||||
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ export class CalendarOwner extends Et2StaticSelectMixin(Et2Select)
|
||||
{
|
||||
for(var i = 0; i < this.value.length; i++)
|
||||
{
|
||||
if(!this.menuItems.find(o => o.value == this.value[i]))
|
||||
if(!this.select_options.find(o => o.value == this.value[i]))
|
||||
{
|
||||
missing_labels.push(this.value[i]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user