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

pull/2865/head
Claire 2024-10-02 17:51:05 +02:00
parent 2e8b752c55
commit 55b5364534
1 changed files with 1 additions and 1 deletions

View File

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