diff --git a/spotizerr-ui/src/routes/artist.tsx b/spotizerr-ui/src/routes/artist.tsx index 3dc3aa3..50d2723 100644 --- a/spotizerr-ui/src/routes/artist.tsx +++ b/spotizerr-ui/src/routes/artist.tsx @@ -93,7 +93,7 @@ export const Artist = () => { setArtist(data); // Lazy-load banner image after render - const allImages = [...(data.portrait_group ?? []), ...(data.biography?.portrait_group ?? [])]; + const allImages = [...(data.portrait_group.image ?? []), ...(data.biography?.[0].portrait_group.image ?? [])]; const candidateBanner = allImages .filter(img => img && typeof img === 'object' && 'url' in img) .sort((a, b) => (b.width ?? 0) - (a.width ?? 0))[0]?.url || "/placeholder.jpg"; diff --git a/spotizerr-ui/src/routes/watchlist.tsx b/spotizerr-ui/src/routes/watchlist.tsx index 4cede24..50cd881 100644 --- a/spotizerr-ui/src/routes/watchlist.tsx +++ b/spotizerr-ui/src/routes/watchlist.tsx @@ -176,7 +176,7 @@ export const Watchlist = () => {