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