mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Don't show card for sensitive/CW content
This commit is contained in:
parent
6f61fc4de2
commit
a429da37f4
1 changed files with 2 additions and 0 deletions
|
@ -432,6 +432,8 @@ function Status({
|
|||
</div>
|
||||
)}
|
||||
{!!card &&
|
||||
!sensitive &&
|
||||
!spoilerText &&
|
||||
(size === 'l' ||
|
||||
(size === 'm' && !poll && !mediaAttachments.length)) && (
|
||||
<Card
|
||||
|
|
Loading…
Reference in a new issue