fix meeting users avatar
This commit is contained in:
@@ -68,7 +68,11 @@ export default class extends AttendeesFieldView {
|
||||
if (avatarHtml) {
|
||||
const img = new DOMParser().parseFromString(avatarHtml, 'text/html').body.childNodes[0];
|
||||
|
||||
itemElement.children[0].querySelector('.link-item-name').prepend(img);
|
||||
const nameElement = itemElement.children[0].querySelector('.link-item-name');
|
||||
|
||||
if (nameElement) {
|
||||
nameElement.prepend(img);
|
||||
}
|
||||
}
|
||||
|
||||
return itemElement;
|
||||
|
||||
Reference in New Issue
Block a user