fix wrong imageRes being used in some cases

This commit is contained in:
jeffvli
2026-01-03 16:00:32 -08:00
parent fd0d783e7d
commit 29957780cb
10 changed files with 14 additions and 1 deletions
@@ -37,6 +37,7 @@ const BaseItemImage = (
id?: null | string;
itemType: LibraryItem;
src?: null | string;
type?: keyof z.infer<typeof GeneralSettingsSchema>['imageRes'];
},
) => {
const { src, ...rest } = props;
@@ -45,7 +46,7 @@ const BaseItemImage = (
id: props.id,
imageUrl: src,
itemType: props.itemType,
size: 300,
type: props.type,
});
return (