mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-31 12:03:10 -05:00
[Glitch] Hide badges in media gallery when media are hidden
Port f768a6eb16880f4e584db530e4106be9b9dcf206 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
299372babe
commit
b22272fcdc
@ -198,7 +198,7 @@ class Item extends PureComponent {
|
||||
|
||||
{visible && thumbnail}
|
||||
|
||||
{badges && (
|
||||
{visible && badges && (
|
||||
<div className='media-gallery__item__badges'>
|
||||
{badges}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user