From c39b2d5b262c666e71cbf7b3c3b8faf288b31a3e Mon Sep 17 00:00:00 2001 From: Brieuc Dubois Date: Wed, 17 Jan 2024 01:14:57 +0100 Subject: [PATCH] Fix open newly created card and on column change --- frontend/src/lib/components/card/Card.svelte | 6 +++--- frontend/src/lib/components/card/ModalCard.svelte | 7 +++---- frontend/src/lib/components/project/Column.svelte | 2 ++ frontend/src/lib/components/tags/SelectTags.svelte | 2 ++ frontend/src/lib/types/Card.ts | 5 +++-- 5 files changed, 13 insertions(+), 9 deletions(-) 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}