mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 04:20:07 +02:00
fix(queue): use song serverId when switching servers
This commit is contained in:
@@ -85,12 +85,14 @@ export const FullScreenPlayerImage = () => {
|
||||
const currentImageUrl = useItemImageUrl({
|
||||
id: currentSong?.imageId || undefined,
|
||||
itemType: LibraryItem.SONG,
|
||||
serverId: currentSong?._serverId,
|
||||
type: 'fullScreenPlayer',
|
||||
});
|
||||
|
||||
const nextImageUrl = useItemImageUrl({
|
||||
id: nextSong?.imageId || undefined,
|
||||
itemType: LibraryItem.SONG,
|
||||
serverId: nextSong?._serverId,
|
||||
type: 'fullScreenPlayer',
|
||||
});
|
||||
|
||||
|
||||
@@ -124,6 +124,7 @@ export const LeftControls = () => {
|
||||
id={currentSong?.imageId}
|
||||
itemType={LibraryItem.SONG}
|
||||
loading="eager"
|
||||
serverId={currentSong?._serverId}
|
||||
type="table"
|
||||
/>
|
||||
</Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user