Remove wrong negation to fix the alt text badge

This commit is contained in:
nachtjasmin 2023-12-28 23:55:47 +01:00
parent ab5df86dd2
commit 427f510187
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

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