mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 19:39:26 +01:00
Put additonal options to static select before the static options
This commit is contained in:
parent
bf7106cf86
commit
71806e051e
@ -62,7 +62,7 @@ export const Et2StaticSelectMixin = <T extends Constructor<Et2WidgetWithSelect>>
|
||||
return options;
|
||||
}
|
||||
// Merge & make sure result is unique
|
||||
return [...new Map([...(this.static_options || []), ...options].map(item =>
|
||||
return [...new Map([...options, ...(this._static_options || [])].map(item =>
|
||||
[item.value, item])).values()];
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user