From e88c38ea2f77ff25c2d9f88daf59742e3b2c45f1 Mon Sep 17 00:00:00 2001 From: Miro Yovchev <2827783+myovchev@users.noreply.github.com> Date: Sun, 29 Dec 2024 15:29:04 +0200 Subject: [PATCH 1/2] Memoize item keys to be able to select image relations again --- .../ui/apos/components/AposMediaManagerDisplay.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/@apostrophecms/image/ui/apos/components/AposMediaManagerDisplay.vue b/modules/@apostrophecms/image/ui/apos/components/AposMediaManagerDisplay.vue index cf193aca5f..1a0c0c00c6 100644 --- a/modules/@apostrophecms/image/ui/apos/components/AposMediaManagerDisplay.vue +++ b/modules/@apostrophecms/image/ui/apos/components/AposMediaManagerDisplay.vue @@ -10,8 +10,8 @@ @create-placeholder="$emit('create-placeholder', $event)" />
({ + ...item, + __key: this.idFor(item) + })); } }, watch: { From 1e649b033ca2d888feabb910690cf81e53375f3a Mon Sep 17 00:00:00 2001 From: Miro Yovchev <2827783+myovchev@users.noreply.github.com> Date: Sun, 29 Dec 2024 15:49:40 +0200 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc5605ccaa..c586ab71b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## UNRELEASED + +### Fixes + +* Fixes a bug where images in Media manager are not selectable (click on an image does nothing) in both default and relationship mode. + ## 4.11.1 (2024-12-18) ### Fixes