chore: book meta
This commit is contained in:
parent
42ea508d46
commit
d680a11905
4 changed files with 17 additions and 19 deletions
|
@ -206,8 +206,9 @@ export default {
|
|||
}
|
||||
if (item.type === 'book') {
|
||||
normalized['alt'] = `${item['title']} by ${item['authors']}`
|
||||
normalized['subtext'] = `${item['percentage']} finished`
|
||||
normalized['percentage'] = item['percentage']
|
||||
normalized['title'] = `${item['title']} by ${item['authors']}`
|
||||
normalized['rating'] = item['rating']
|
||||
if (item['rating']) normalized['subtext'] = item['rating']
|
||||
}
|
||||
if (item.type === 'tv') {
|
||||
normalized['title'] = item['title']
|
||||
|
|
Reference in a new issue