Remove wrong negation to fix the alt text badge
This commit is contained in:
parent
ab5df86dd2
commit
427f510187
|
@ -101,7 +101,7 @@ class Item extends PureComponent {
|
|||
height = 50;
|
||||
}
|
||||
|
||||
const hasMediaDescription = !attachment.get('description')?.length > 0;
|
||||
const hasMediaDescription = attachment.get('description')?.length > 0;
|
||||
if (hasMediaDescription) {
|
||||
badges.push(<span key='alt' className='media-gallery__gifv__label'>ALT</span>);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue