forked from treehouse/mastodon
[Glitch] Fix some account media gallery items having empty labels
Port 9d023ed4f6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
signup-info-prompt
parent
37dfb9dddc
commit
adfaf9551c
|
@ -122,7 +122,7 @@ export default class MediaItem extends ImmutablePureComponent {
|
||||||
<div className='media-gallery__gifv'>
|
<div className='media-gallery__gifv'>
|
||||||
{content}
|
{content}
|
||||||
|
|
||||||
<span className='media-gallery__gifv__label'>{label}</span>
|
{label && <span className='media-gallery__gifv__label'>{label}</span>}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue