mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-13 20:10:07 +02:00
fix(queue): use song serverId when switching servers
This commit is contained in:
@@ -36,6 +36,7 @@ const BaseItemImage = (
|
||||
props: Omit<ImageProps, 'id' | 'src'> & {
|
||||
id?: null | string;
|
||||
itemType: LibraryItem;
|
||||
serverId?: null | string;
|
||||
src?: null | string;
|
||||
type?: keyof z.infer<typeof GeneralSettingsSchema>['imageRes'];
|
||||
},
|
||||
@@ -46,6 +47,7 @@ const BaseItemImage = (
|
||||
id: props.id,
|
||||
imageUrl: src,
|
||||
itemType: props.itemType,
|
||||
serverId: props.serverId || undefined,
|
||||
type: props.type,
|
||||
});
|
||||
|
||||
|
||||
@@ -238,6 +238,7 @@ export const QueueSongTitleCombinedColumn = (props: ItemTableListInnerColumn) =>
|
||||
containerClassName={styles.image}
|
||||
id={item?.imageId}
|
||||
itemType={item?._itemType}
|
||||
serverId={item?._serverId}
|
||||
src={item?.imageUrl}
|
||||
type="table"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user