mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 02:41:02 +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;
|
return options;
|
||||||
}
|
}
|
||||||
// Merge & make sure result is unique
|
// 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()];
|
[item.value, item])).values()];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user