From 14b76520a6bfe85b1f8dccab6ca7b859add5a425 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Sat, 30 May 2026 05:02:36 +0000 Subject: [PATCH] Stop eager reel loading in cards --- frontend/src/components/MediaCard.vue | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/frontend/src/components/MediaCard.vue b/frontend/src/components/MediaCard.vue index 8da6047..708e3ef 100644 --- a/frontend/src/components/MediaCard.vue +++ b/frontend/src/components/MediaCard.vue @@ -20,14 +20,6 @@ loading="lazy" @error="imageError = true" /> -
{{ item.type === "movies" ? "🎬" : item.type === "episode" ? "📺" : "📺" }}
@@ -151,15 +143,6 @@ const posterImageUrl = computed(() => { return getCoverUrl(props.item.cover_path, props.item.root_id) }) -const posterVideoUrl = computed(() => { - if (props.item.cover_path && isVideoPath(props.item.cover_path)) { - return getCoverUrl(props.item.cover_path, props.item.root_id) - } - - const fallbackVideo = props.item.showreel_images?.find((path) => isVideoPath(path)) - return fallbackVideo ? getCoverUrl(fallbackVideo, props.item.root_id) : null -}) - const rating = computed(() => { if (props.item.type === "movies") { return (props.item.data as Movie).info?.rating