mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
fixing the fix, item is a regular (not DOM-)object and not undefined
This commit is contained in:
parent
71278c8041
commit
8b22a258c6
@ -869,7 +869,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
|
||||
protected _createImage(item)
|
||||
{
|
||||
let image = item ? item.querySelector("et2-image") || item.querySelector("[slot='prefix']") : null;
|
||||
let image = item?.querySelector ? item.querySelector("et2-image") || item.querySelector("[slot='prefix']") : null;
|
||||
if(image)
|
||||
{
|
||||
image = image.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user