mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 21:03:27 +00:00
Fix some account media gallery items having empty labels (#15073)
Remove the labels entirely for images instead of putting an empty label.
This commit is contained in:
parent
c49805efb1
commit
9d023ed4f6
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue