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
@@ -162,7 +162,7 @@ const PlaylistRowButton = memo(({ item, name, onContextMenu, to }: PlaylistRowBu
);
const imageUrl = useItemImageUrl({
id: item.id,
id: item.imageId || undefined,
itemType: LibraryItem.PLAYLIST,
type: 'table',
});
@@ -153,7 +153,7 @@ const SidebarImage = () => {
const currentSong = usePlayerSong();
const imageUrl = useItemImageUrl({
id: currentSong?.id,
id: currentSong?.imageId || undefined,
itemType: LibraryItem.SONG,
type: 'sidebar',
});