From 3c5a66648b677f69d72292aab6f9074bce69c119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sat, 8 Jan 2022 13:01:44 +0100 Subject: [PATCH] Only show scheduled status media attachments if there are any MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- .../scheduled_statuses/components/scheduled_status.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/soapbox/features/scheduled_statuses/components/scheduled_status.js b/app/soapbox/features/scheduled_statuses/components/scheduled_status.js index 2295a0d70..f7d6a8151 100644 --- a/app/soapbox/features/scheduled_statuses/components/scheduled_status.js +++ b/app/soapbox/features/scheduled_statuses/components/scheduled_status.js @@ -66,10 +66,12 @@ class ScheduledStatus extends ImmutablePureComponent { collapsable /> - + {status.get('media_attachments').size > 0 && ( + + )} {status.get('poll') && }