display only genres with type = profile in edit profile
This commit is contained in:
parent
91c85d5e59
commit
119a180a82
|
|
@ -93,7 +93,7 @@ function JKEditProfile() {
|
|||
setValue('traditionalBand', data.traditional_band);
|
||||
setValue('cowriting', data.cowriting);
|
||||
setValue('instruments', data.instruments);
|
||||
setValue('genres', data.genres);
|
||||
setValue('genres', data.genres.filter(genre => genre.genre_type && genre.genre_type === 'profile'));
|
||||
if (data.country) {
|
||||
fetchRegions(data.country);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue