mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-03-20 22:08:57 +01:00
Add missing tags props on card detail
This commit is contained in:
parent
7f231e6bdd
commit
8e33309ea8
2 changed files with 4 additions and 2 deletions
|
@ -140,6 +140,7 @@
|
||||||
open(
|
open(
|
||||||
DetailModal,
|
DetailModal,
|
||||||
{
|
{
|
||||||
|
tags,
|
||||||
card,
|
card,
|
||||||
compare,
|
compare,
|
||||||
showCompare,
|
showCompare,
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
import Card from './_card.svelte';
|
import Card from './_card.svelte';
|
||||||
import Detail from './_detail.svelte';
|
import Detail from './_detail.svelte';
|
||||||
|
|
||||||
|
export let tags;
|
||||||
export let card;
|
export let card;
|
||||||
export let showCompare;
|
export let showCompare;
|
||||||
export let compare;
|
export let compare;
|
||||||
|
@ -35,9 +36,9 @@
|
||||||
</Button>
|
</Button>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<Detail {card} withBackground={false} />
|
<Detail {tags} {card} withBackground={false} />
|
||||||
{#if showCompare}
|
{#if showCompare}
|
||||||
<div class="w-2" />
|
<div class="w-2" />
|
||||||
<Detail card={compare} withBackground={false} />
|
<Detail {tags} card={compare} withBackground={false} />
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue