Browse Source
Fix some account media gallery items having empty labels (#15073)
Remove the labels entirely for images instead of putting an empty label.
master
ThibG
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/javascript/mastodon/features/account_gallery/components/media_item.js
|
|
@ -122,7 +122,7 @@ export default class MediaItem extends ImmutablePureComponent { |
|
|
|
<div className='media-gallery__gifv'> |
|
|
|
{content} |
|
|
|
|
|
|
|
<span className='media-gallery__gifv__label'>{label}</span> |
|
|
|
{label && <span className='media-gallery__gifv__label'>{label}</span>} |
|
|
|
</div> |
|
|
|
); |
|
|
|
} |
|
|
|