Add missing tags props on card detail

pull/1/head
Made Baruna 2022-12-17 15:07:49 +08:00
parent 7f231e6bdd
commit 8e33309ea8
2 changed files with 4 additions and 2 deletions

View File

@ -140,6 +140,7 @@
open(
DetailModal,
{
tags,
card,
compare,
showCompare,

View File

@ -4,6 +4,7 @@
import Card from './_card.svelte';
import Detail from './_detail.svelte';
export let tags;
export let card;
export let showCompare;
export let compare;
@ -35,9 +36,9 @@
</Button>
{/if}
</div>
<Detail {card} withBackground={false} />
<Detail {tags} {card} withBackground={false} />
{#if showCompare}
<div class="w-2" />
<Detail card={compare} withBackground={false} />
<Detail {tags} card={compare} withBackground={false} />
{/if}
</div>