mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-15 04:03:06 -05:00
[Glitch] Fix some account media gallery items having empty labels
Port 9d023ed4f6d8a69699d14479d5e12132ea4f4cd2 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
parent
37dfb9dddc
commit
adfaf9551c
@ -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…
x
Reference in New Issue
Block a user