From 888ef75dd8d3a5954756ebb1d8390f3843f12daf Mon Sep 17 00:00:00 2001 From: Bhasher Date: Fri, 29 Dec 2023 18:14:17 +0100 Subject: [PATCH] Fix sync isses in Modal card --- frontend/src/components/card.svelte | 2 +- frontend/src/components/modal_card.svelte | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/card.svelte b/frontend/src/components/card.svelte index 618a4eb..ce7ed61 100644 --- a/frontend/src/components/card.svelte +++ b/frontend/src/components/card.svelte @@ -49,4 +49,4 @@ {/if} - + diff --git a/frontend/src/components/modal_card.svelte b/frontend/src/components/modal_card.svelte index 0f6fffa..73e4423 100644 --- a/frontend/src/components/modal_card.svelte +++ b/frontend/src/components/modal_card.svelte @@ -18,7 +18,7 @@ content: tempCard.content }); - card = tempCard; + card = { ...tempCard }; } if (closeModal) show = false; } @@ -32,18 +32,6 @@
save(false)} />
-