feat: support nav and pages in cms
This commit is contained in:
parent
e1b0dc5243
commit
f5adf0ba06
35 changed files with 235 additions and 444 deletions
|
@ -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'])
|
||||
}))
|
||||
})
|
||||
|
||||
|
|
Reference in a new issue