diff --git a/frontend/src/lib/components/card/Card.svelte b/frontend/src/lib/components/card/Card.svelte index be650ec..0fc47fe 100644 --- a/frontend/src/lib/components/card/Card.svelte +++ b/frontend/src/lib/components/card/Card.svelte @@ -4,7 +4,7 @@ import ModalCard from './ModalCard.svelte'; export let card: Card; - export let showModal = false; + $: showModal = card.showModal;
{#if showModal} - -{/if} + +{:else}{/if}