feat: support nav and pages in cms

This commit is contained in:
Cory Dransfeldt 2024-07-14 19:21:04 -07:00
parent e1b0dc5243
commit f5adf0ba06
No known key found for this signature in database
35 changed files with 235 additions and 444 deletions

View file

@ -30,9 +30,9 @@ const fetchGenresWithArtists = async () => {
}
data.forEach(genre => {
genre.artists = genre.artists.map(artist => ({
genre['artists'] = genre['artists'].map(artist => ({
...artist,
country: parseCountryField(artist.country)
country: parseCountryField(artist['country'])
}))
})