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:
vicrodh committed 2026-01-25 13:02:24 -06:00
1 parent 2a89b025a6
commit 4b9d819a98
5 files changed
+15 -4

No files matched your search

@@ -32,6 +32,7 @@
title: string;
artwork: string;
quality: string;
genre: string;
}
interface Props {
@@ -483,6 +484,7 @@
artwork={relatedAlbum.artwork}
title={relatedAlbum.title}
artist={album.artist}
genre={relatedAlbum.genre}
size="large"
quality={relatedAlbum.quality}
onclick={() => onRelatedAlbumClick?.(relatedAlbum.id)}