From 71afcd42e18a2d9051b1385ab269462d07e1a479 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 5 Mar 2025 09:43:31 +0100 Subject: [PATCH] [Glitch] Fix preview cards under Content Warnings not being shown in detailed statuses Port 26a3081699fa991ec315bed089c454272d4a169b to glitch-soc Signed-off-by: Claire --- .../glitch/features/status/components/detailed_status.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx b/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx index 4099ec5a82..19290cbe33 100644 --- a/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx +++ b/app/javascript/flavours/glitch/features/status/components/detailed_status.tsx @@ -243,12 +243,12 @@ export const DetailedStatus: React.FC<{ ); mediaIcons.push('video-camera'); } - } else if (status.get('spoiler_text').length === 0) { + } else if (status.get('card')) { media = ( ); mediaIcons.push('link');