From 4124c248b8edb3c16f8ba180ea4fd9d468cf64e8 Mon Sep 17 00:00:00 2001 From: celine Date: Mon, 6 Apr 2026 19:30:32 -0400 Subject: [PATCH] Update cover image button to be image specific --- components/Blocks/ImageBlock.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/Blocks/ImageBlock.tsx b/components/Blocks/ImageBlock.tsx index b38dd980..0a72e7f3 100644 --- a/components/Blocks/ImageBlock.tsx +++ b/components/Blocks/ImageBlock.tsx @@ -209,7 +209,7 @@ const CoverImageButton = (props: { entityID: string }) => { // Only show if focused, in a publication, has write permissions, and no cover image is set if (!isFocused || !pubData?.publications || !entity_set.permissions.write) return null; - if (coverImage) + if (coverImage === props.entityID) return ( { ); + return (