[Glitch] Fix preview cards under Content Warnings not being shown in detailed statuses
Port 26a3081699
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2986/head
parent
dbd3e05812
commit
71afcd42e1
|
@ -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 = (
|
||||
<Card
|
||||
sensitive={status.get('sensitive')}
|
||||
onOpenMedia={onOpenMedia}
|
||||
card={status.get('card', null)}
|
||||
card={status.get('card')}
|
||||
/>
|
||||
);
|
||||
mediaIcons.push('link');
|
||||
|
|
Loading…
Reference in New Issue