[Glitch] Hide badges in media gallery when media are hidden

Port f768a6eb16 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire 2024-10-02 17:51:05 +02:00
parent 299372babe
commit b22272fcdc

View file

@ -198,7 +198,7 @@ class Item extends PureComponent {
{visible && thumbnail}
{badges && (
{visible && badges && (
<div className='media-gallery__item__badges'>
{badges}
</div>