mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-09 01:26:24 +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>
|
</div>
|
||||||
)}
|
)}
|
||||||
{!!card &&
|
{!!card &&
|
||||||
|
!sensitive &&
|
||||||
|
!spoilerText &&
|
||||||
(size === 'l' ||
|
(size === 'l' ||
|
||||||
(size === 'm' && !poll && !mediaAttachments.length)) && (
|
(size === 'm' && !poll && !mediaAttachments.length)) && (
|
||||||
<Card
|
<Card
|
||||||
|
|
Loading…
Reference in a new issue