From 19493b4cd3b57dad58bb2e0b1d1971f25fcb9073 Mon Sep 17 00:00:00 2001 From: rasmusq Date: Fri, 19 Dec 2025 20:09:49 +0100 Subject: [PATCH] remove: svg from dashboard lists --- src/lib/components/dashboard/WishlistGrid.svelte | 2 +- src/lib/components/themes/ThemeCard.svelte | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lib/components/dashboard/WishlistGrid.svelte b/src/lib/components/dashboard/WishlistGrid.svelte index 20401ad..877f6e4 100644 --- a/src/lib/components/dashboard/WishlistGrid.svelte +++ b/src/lib/components/dashboard/WishlistGrid.svelte @@ -53,7 +53,7 @@ - +
diff --git a/src/lib/components/themes/ThemeCard.svelte b/src/lib/components/themes/ThemeCard.svelte index 535c490..ab5a8de 100644 --- a/src/lib/components/themes/ThemeCard.svelte +++ b/src/lib/components/themes/ThemeCard.svelte @@ -5,10 +5,12 @@ let { themeName, - color + color, + showPattern = true }: { themeName?: string | null; color?: string | null; + showPattern?: boolean; } = $props(); const theme = $derived(getTheme(themeName)); @@ -18,6 +20,6 @@ }); -{#if theme.pattern !== 'none'} +{#if showPattern && theme.pattern !== 'none'} {/if}