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

This commit is contained in:
Claire 2024-10-02 17:51:05 +02:00
parent 2e8b752c55
commit 55b5364534

View file

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