fix: genre slugs
This commit is contained in:
parent
0754a715ed
commit
b03a014258
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ const fetchGenresWithArtists = async () => {
|
|||
...artist,
|
||||
country: parseCountryField(artist['country'])
|
||||
}))
|
||||
genre['url'] = `/music/genres/${slugify(genre['name'].toLowerCase())}`
|
||||
genre['url'] = `/music/genres/${slugify(genre['name'].replace('/', '-').toLowerCase())}`
|
||||
})
|
||||
|
||||
return data
|
||||
|
|
Reference in a new issue