mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 14:10:14 +02:00
fix error on album/albumartist header image (#1299)
This commit is contained in:
@@ -42,7 +42,7 @@ const AlbumDetailRoute = () => {
|
||||
|
||||
const background = backgroundColor;
|
||||
|
||||
const showBlurredImage = Boolean(detailQuery.data?.imageUrl) && albumBackground;
|
||||
const showBlurredImage = albumBackground;
|
||||
|
||||
return (
|
||||
<AnimatedPage key={`album-detail-${albumId}`}>
|
||||
@@ -70,7 +70,7 @@ const AlbumDetailRoute = () => {
|
||||
<LibraryBackgroundImage
|
||||
blur={albumBackgroundBlur}
|
||||
headerRef={headerRef}
|
||||
imageUrl={detailQuery.data.imageUrl!}
|
||||
imageUrl={detailQuery.data?.imageUrl}
|
||||
/>
|
||||
) : (
|
||||
<LibraryBackgroundOverlay backgroundColor={background} headerRef={headerRef} />
|
||||
|
||||
Reference in New Issue
Block a user