Add missing tags props on card detail

This commit is contained in:
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( open(
DetailModal, DetailModal,
{ {
tags,
card, card,
compare, compare,
showCompare, showCompare,

View file

@ -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>