mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-19 16:07:08 +00:00
Hide badges in media gallery when media are hidden (#32224)
This commit is contained in:
parent
cec8961372
commit
f768a6eb16
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue