fix: posters

This commit is contained in:
Fredrik Burmester
2024-08-25 20:47:57 +02:00
parent 67af14dced
commit 9b2185d29e
3 changed files with 13 additions and 12 deletions

View File

@@ -19,9 +19,6 @@ const MoviePoster: React.FC<MoviePosterProps> = ({
const [api] = useAtom(apiAtom);
const url = useMemo(() => {
if (item.Type === "Episode") {
return `${api?.basePath}/Items/${item.ParentBackdropItemId}/Images/Thumb?fillHeight=389&quality=80&tag=${item.ParentThumbImageTag}`;
}
return getPrimaryImageUrl({
api,
item,