sforkowany z mirror/soapbox
Only show scheduled status media attachments if there are any
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>party-hat
rodzic
ed0e02da04
commit
3c5a66648b
|
@ -66,10 +66,12 @@ class ScheduledStatus extends ImmutablePureComponent {
|
|||
collapsable
|
||||
/>
|
||||
|
||||
<AttachmentThumbs
|
||||
compact
|
||||
media={status.get('media_attachments')}
|
||||
/>
|
||||
{status.get('media_attachments').size > 0 && (
|
||||
<AttachmentThumbs
|
||||
compact
|
||||
media={status.get('media_attachments')}
|
||||
/>
|
||||
)}
|
||||
|
||||
{status.get('poll') && <PollPreview poll={status.get('poll')} />}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue