mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Put additonal options to static select before the static options
This commit is contained in:
parent
e504573269
commit
5601897dbb
@ -67,7 +67,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