mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-10 06:12:43 +02:00
fix wrong imageRes being used in some cases
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user