fix(jellyfin): use undefined instead of -1 for limit for jellyfin 10.10, fix item-image

This commit is contained in:
Kendall Garner
2026-01-09 08:11:02 -08:00
parent 0e41144a10
commit 415cc71f74
2 changed files with 3 additions and 3 deletions
@@ -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,
});