+
save(false)} />
-
+
(editDescription = !editDescription)}>
- 👁
+ {#if editDescription}
+
+ {:else}
+
+ {/if}
{#if editDescription}
diff --git a/frontend/src/lib/components/card/ModalCard.svelte b/frontend/src/lib/components/card/ModalCard.svelte index 09ab901..4df40d2 100644 --- a/frontend/src/lib/components/card/ModalCard.svelte +++ b/frontend/src/lib/components/card/ModalCard.svelte @@ -5,6 +5,8 @@ import type Card from '$lib/types/Card'; import { cards } from '$lib/types/Card'; import SvelteMarkdown from 'svelte-markdown'; + import CrossedEye from '../icons/CrossedEye.svelte'; + import EyeIcon from '../icons/EyeIcon.svelte'; export let card: Card; @@ -32,7 +34,7 @@