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
|
collapsable
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<AttachmentThumbs
|
{status.get('media_attachments').size > 0 && (
|
||||||
compact
|
<AttachmentThumbs
|
||||||
media={status.get('media_attachments')}
|
compact
|
||||||
/>
|
media={status.get('media_attachments')}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
{status.get('poll') && <PollPreview poll={status.get('poll')} />}
|
{status.get('poll') && <PollPreview poll={status.get('poll')} />}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue