Fix missing GIF badge in account gallery ()

pull/2339/head
Christian Schmidt 2023-07-26 03:33:31 +02:00 committed by GitHub
parent 6781dc6462
commit a4b69bec2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
app/javascript/mastodon/features/account_gallery/components

View File

@ -128,7 +128,11 @@ export default class MediaItem extends ImmutablePureComponent {
<div className='media-gallery__gifv'>
{content}
{label && <span className='media-gallery__gifv__label'>{label}</span>}
{label && (
<div className='media-gallery__item__badges'>
<span className='media-gallery__gifv__label'>{label}</span>
</div>
)}
</div>
);
}