mirror of
https://github.com/sbondCo/Watcharr.git
synced 2026-08-07 07:14:44 +00:00
2202b11e39
now i should probably test the whole app waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaauuuuuuuuuugugghghghghghghghghg
20 lines
470 B
Svelte
20 lines
470 B
Svelte
<script lang="ts">
|
|
import type { Media } from "@/types";
|
|
import HorizontalList from "../HorizontalList.svelte";
|
|
import Poster from "../poster/Poster.svelte";
|
|
|
|
interface Props {
|
|
similar: Media[];
|
|
}
|
|
|
|
let { similar }: Props = $props();
|
|
</script>
|
|
|
|
{#if similar?.length > 0}
|
|
<HorizontalList title="Similar">
|
|
{#each similar as content, i (content.ids)}
|
|
<Poster media={content} small={true} bind:watched={similar[i].watched} />
|
|
{/each}
|
|
</HorizontalList>
|
|
{/if}
|