Skip to content

Commit

Permalink
Hide badges in media gallery when media are hidden (mastodon#32224)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Oct 4, 2024
1 parent 2e8b752 commit 55b5364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/components/media_gallery.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ class Item extends PureComponent {

{visible && thumbnail}

{badges && (
{visible && badges && (
<div className='media-gallery__item__badges'>
{badges}
</div>
Expand Down

0 comments on commit 55b5364

Please sign in to comment.