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

Port 55b5364534 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2865/head
Claire 2024-10-02 17:51:05 +02:00
parent a09a26da49
commit 4d611e94ee
1 changed files with 1 additions and 1 deletions

View File

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