mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 23:39:37 +00:00
Hide badges in media gallery when media are hidden (#32224)
This commit is contained in:
parent
2e8b752c55
commit
55b5364534
|
@ -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