Hide badges in media gallery when media are hidden (#32224)

This commit is contained in:
Claire 2024-10-02 17:51:05 +02:00 committed by GitHub
parent cec8961372
commit f768a6eb16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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