feat: display concerts

This commit is contained in:
Cory Dransfeldt 2024-08-02 16:54:09 -07:00
parent e591a00888
commit 70c8138064
No known key found for this signature in database
12 changed files with 68 additions and 7 deletions

View file

@ -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
}))
}