fix wrong imageRes being used in some cases

This commit is contained in:
jeffvli
2026-01-03 16:00:32 -08:00
parent fd0d783e7d
commit 29957780cb
10 changed files with 14 additions and 1 deletions
@@ -124,6 +124,7 @@ export const LeftControls = () => {
id={currentSong?.imageId}
itemType={LibraryItem.SONG}
loading="eager"
type="table"
/>
</Tooltip>
{!collapsed && (
@@ -95,6 +95,7 @@ export const MobilePlayerbar = () => {
id={currentSong.imageId}
itemType={LibraryItem.SONG}
loading="eager"
type="table"
/>
</Tooltip>
</motion.div>
@@ -561,6 +561,7 @@ const PlaylistTableItem = memo(
className: styles.imageContainer,
}}
itemType={LibraryItem.PLAYLIST}
type="table"
/>
</Flex>
</Grid.Col>
@@ -104,6 +104,7 @@ export const LibraryCommandItem = ({
id={imageId}
itemType={itemType}
src={imageUrl}
type="table"
width={40}
/>
</div>
@@ -142,6 +142,7 @@ export const LibraryHeader = forwardRef(
itemType={item.type as LibraryItem}
onError={onImageError}
src={imageUrl || ''}
type="header"
/>
)}
</div>