Fix missing GIF badge in account gallery (#26166)

This commit is contained in:
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

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>
);
}