fix: duplicative alt

This commit is contained in:
Cory Dransfeldt 2024-05-17 14:53:26 -07:00
parent ffce24a909
commit a3a08afd50
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View file

@ -205,7 +205,6 @@ export default {
normalized['subtext'] = item['rating']
}
if (item.type === 'book') {
normalized['alt'] = `${item['title']} by ${item['authors']}`
normalized['title'] = `${item['title']} by ${item['authors']}`
normalized['rating'] = item['rating']
if (item['rating']) normalized['subtext'] = item['rating']