fix left control and context menu image display for queue items of different server

This commit is contained in:
Kendall Garner
2026-01-18 08:35:19 -08:00
parent a0e09b80cf
commit cf428a14a3
2 changed files with 2 additions and 0 deletions
@@ -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',
});