use correct id for runtime images in useItemImageUrl

This commit is contained in:
jeffvli
2025-12-26 14:04:48 -08:00
parent fb8245539f
commit dff182cbc5
19 changed files with 25 additions and 23 deletions
@@ -144,7 +144,7 @@ export const AlbumArtistDetailHeader = forwardRef((_props, ref: Ref<HTMLDivEleme
const showRating = detailQuery?.data?._serverType === ServerType.NAVIDROME;
const imageUrl = useItemImageUrl({
id: detailQuery?.data?.id,
id: detailQuery?.data?.imageId || undefined,
itemType: LibraryItem.ALBUM_ARTIST,
type: 'itemCard',
});
@@ -31,6 +31,7 @@ export function AlbumArtistGridCarousel(props: AlbumArtistGridCarouselProps) {
controls={controls}
data={albumArtist}
enableDrag
isRound
itemType={LibraryItem.ALBUM_ARTIST}
rows={rows}
type="poster"