From af2c05f03e82eaf44fc21617aa7ed283e6fa8fa7 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Tue, 9 Sep 2025 11:56:18 +0300 Subject: [PATCH] html fix --- client/src/views/fields/collaborators.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/views/fields/collaborators.js b/client/src/views/fields/collaborators.js index d080d34bfa..0da127860b 100644 --- a/client/src/views/fields/collaborators.js +++ b/client/src/views/fields/collaborators.js @@ -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;