chore: display tweak
This commit is contained in:
parent
63866da6b4
commit
e12527b122
1 changed files with 1 additions and 2 deletions
|
@ -12,8 +12,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
if (item.type === 'artist') {
|
if (item.type === 'artist') {
|
||||||
normalized['title'] = item['title']
|
normalized['title'] = item['title']
|
||||||
normalized['alt'] = `${item['plays']} plays of ${item['title']}`
|
normalized['alt'] = item['title']
|
||||||
normalized['subtext'] = `${item['plays']} plays`
|
|
||||||
}
|
}
|
||||||
if (item.type === 'book' || item.type === 'movie') normalized['alt'] = item['title']
|
if (item.type === 'book' || item.type === 'movie') normalized['alt'] = item['title']
|
||||||
if (item.type === 'tv') {
|
if (item.type === 'tv') {
|
||||||
|
|
Reference in a new issue