feat: display concerts
This commit is contained in:
parent
e591a00888
commit
70c8138064
12 changed files with 68 additions and 7 deletions
|
@ -66,7 +66,7 @@ const processArtists = (artists) => {
|
|||
totalPlays: album['total_plays'],
|
||||
art: album.art ? `/${album['art']}` : ''
|
||||
})).sort((a, b) => a['release_year'] - b['release_year']),
|
||||
concerts: artist['concerts'] || []
|
||||
concerts: artist['concerts']?.[0]?.id ? artist['concerts'] : null
|
||||
}))
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue