mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 04:50:12 +02:00
fix(jellyfin): use undefined instead of -1 for limit for jellyfin 10.10, fix item-image
This commit is contained in:
@@ -41,13 +41,13 @@ const BaseItemImage = (
|
||||
type?: keyof z.infer<typeof GeneralSettingsSchema>['imageRes'];
|
||||
},
|
||||
) => {
|
||||
const { src, ...rest } = props;
|
||||
const { serverId, src, ...rest } = props;
|
||||
|
||||
const imageUrl = useItemImageUrl({
|
||||
id: props.id,
|
||||
imageUrl: src,
|
||||
itemType: props.itemType,
|
||||
serverId: props.serverId || undefined,
|
||||
serverId: serverId || undefined,
|
||||
type: props.type,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user