chore: album subtext
This commit is contained in:
parent
25888d0ed0
commit
1f445d9122
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module.exports = {
|
||||||
if (item.type === 'album') {
|
if (item.type === 'album') {
|
||||||
normalized['title'] = item['title']
|
normalized['title'] = item['title']
|
||||||
normalized['alt'] = `${item['title']} by ${item['artist']}`
|
normalized['alt'] = `${item['title']} by ${item['artist']}`
|
||||||
normalized['subtext'] = `${item['plays']} plays`
|
normalized['subtext'] = `${item['artist']}`
|
||||||
}
|
}
|
||||||
if (item.type === 'artist') {
|
if (item.type === 'artist') {
|
||||||
normalized['title'] = item['title']
|
normalized['title'] = item['title']
|
||||||
|
|
Reference in a new issue