Fix genre prop propagation for album cards
- Add genre field to QobuzTrack.album type - Add genre to compilation albums in qobuzAdapters - Add getGenreLabel function to LabelView - Add genre prop to AlbumDetailView artist albums - Update +page.svelte artist albums mapping to include genre
This commit is contained in:
1 parent
2a89b025a6
commit
4b9d819a98
5 files changed
+15
-4
No files matched your search
@@ -285,7 +285,8 @@ function buildCompilationAlbums(tracks: QobuzTrack[] | undefined): ArtistAlbumSu
|
||||
track.hires_streamable,
|
||||
track.maximum_bit_depth,
|
||||
track.maximum_sampling_rate
|
||||
)
|
||||
),
|
||||
genre: album.genre?.name || ''
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user