mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
html fix
This commit is contained in:
@@ -94,7 +94,9 @@ export default class CollaboratorsFieldView extends LinkMultipleFieldView {
|
||||
if (avatarHtml) {
|
||||
const img = new DOMParser().parseFromString(avatarHtml, 'text/html').body.childNodes[0];
|
||||
|
||||
itemElement.prepend(img);
|
||||
const textElement = itemElement.querySelector('.text');
|
||||
|
||||
textElement?.prepend(img);
|
||||
}
|
||||
|
||||
return itemElement;
|
||||
|
||||
Reference in New Issue
Block a user