From b8d620f239c99692f126a07ae715d3f46cd045b7 Mon Sep 17 00:00:00 2001 From: Lukasz Ostafin Date: Fri, 13 Oct 2023 09:24:00 +0200 Subject: [PATCH] After QA --- .../public/js/scripts/fieldType/ezobjectrelationlist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bundle/Resources/public/js/scripts/fieldType/ezobjectrelationlist.js b/src/bundle/Resources/public/js/scripts/fieldType/ezobjectrelationlist.js index 1f30768773..82f94ec72d 100644 --- a/src/bundle/Resources/public/js/scripts/fieldType/ezobjectrelationlist.js +++ b/src/bundle/Resources/public/js/scripts/fieldType/ezobjectrelationlist.js @@ -82,8 +82,8 @@ const { VersionInfo } = item.ContentInfo.Content.CurrentVersion.Version; const currentVersionNo = VersionInfo.versionNo; const languageCodes = VersionInfo.VersionTranslationInfo.Language.map((language) => language.languageCode); - const itemActionsMenuContainer = relationsContainer.querySelector('.ibexa-embedded-item-actions__menu'); - const itemActionsTriggerElement = relationsContainer.querySelector('.ibexa-embedded-item-actions__menu-trigger-btn'); + const itemActionsMenuContainer = itemNode.querySelector('.ibexa-embedded-item-actions__menu'); + const itemActionsTriggerElement = itemNode.querySelector('.ibexa-embedded-item-actions__menu-trigger-btn'); const itemNodeNameCell = itemNode.querySelector('.ibexa-relations__item-name'); itemNode.dataset.contentId = contentId;