Skip to content
Snippets Groups Projects
Unverified Commit 9d023ed4 authored by ThibG's avatar ThibG Committed by GitHub
Browse files

Fix some account media gallery items having empty labels (#15073)

Remove the labels entirely for images instead of putting an empty label.
parent c49805ef
No related branches found
Tags v0.8
No related merge requests found
......@@ -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>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment