diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index c4a08a3..565ebe2 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -9,10 +9,12 @@
Menu,
BookOpen,
ArrowLeft,
- Camera
+ Camera,
+ ShoppingCart
} from 'lucide-svelte';
import { profileStore } from '$lib/client/profile.svelte';
import { wishlistStore } from '$lib/client/wishlist.svelte';
+ import { shoppingCartStore } from '$lib/client/shopping-cart.svelte';
import { pwaStore } from '$lib/client/pwa.svelte';
import { searchFilterStore } from '$lib/client/search-filter.svelte';
import ProfileSwitcher from '$lib/components/ProfileSwitcher.svelte';
@@ -96,11 +98,13 @@
// auf einem anderen Gerät oder in einem anderen Tab etwas geändert
// wurde.
void wishlistStore.refresh();
+ void shoppingCartStore.refresh();
});
onMount(() => {
profileStore.load();
void wishlistStore.refresh();
+ void shoppingCartStore.refresh();
void searchFilterStore.load();
void pwaStore.init();
network.init();
@@ -268,6 +272,16 @@
{wishlistStore.count}
{/if}
+ {#if shoppingCartStore.uncheckedCount > 0}
+
+