[Glitch] Fix some account media gallery items having empty labels

Port 2d5f0a0002 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
lolsob-rspec
ThibG 2020-11-01 18:31:39 +01:00 committed by Thibaut Girka
parent 8ebf849f62
commit e0b3df936f
1 changed files with 1 additions and 1 deletions

View File

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