From 26a3081699fa991ec315bed089c454272d4a169b Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 5 Mar 2025 09:43:31 +0100 Subject: [PATCH] Fix preview cards under Content Warnings not being shown in detailed statuses (#34068) --- .../mastodon/features/status/components/detailed_status.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/mastodon/features/status/components/detailed_status.tsx b/app/javascript/mastodon/features/status/components/detailed_status.tsx index deb330b9a0..f004398fea 100644 --- a/app/javascript/mastodon/features/status/components/detailed_status.tsx +++ b/app/javascript/mastodon/features/status/components/detailed_status.tsx @@ -221,12 +221,12 @@ export const DetailedStatus: React.FC<{ /> ); } - } else if (status.get('spoiler_text').length === 0) { + } else if (status.get('card')) { media = ( ); }