mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix left control and context menu image display for queue items of different server
This commit is contained in:
@@ -48,6 +48,7 @@ export const ContextMenuPreview = ({ items, itemType }: ContextMenuPreviewProps)
|
||||
const imageUrl = useItemImageUrl({
|
||||
id: (firstItem as { imageId?: string })?.imageId,
|
||||
itemType: itemType || LibraryItem.SONG,
|
||||
serverId: (firstItem as { _serverId?: string })?._serverId,
|
||||
type: 'table',
|
||||
});
|
||||
|
||||
|
||||
@@ -156,6 +156,7 @@ const SidebarImage = () => {
|
||||
const imageUrl = useItemImageUrl({
|
||||
id: currentSong?.imageId || undefined,
|
||||
itemType: LibraryItem.SONG,
|
||||
serverId: currentSong?._serverId,
|
||||
type: 'sidebar',
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user