From ffeba5b404b492f0df990b2a0bc425abde22a832 Mon Sep 17 00:00:00 2001 From: robin Date: Fri, 15 Dec 2023 15:21:08 +0000 Subject: [PATCH] bugfix --- frontend/src/App.svelte | 22 ++-------- .../src/lib/components/header/desktop.svelte | 43 ++++--------------- .../src/lib/components/header/mobile.svelte | 1 - 3 files changed, 12 insertions(+), 54 deletions(-) diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 4c2997b..0448cd5 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -32,7 +32,9 @@ async function getNavigation() { let nav: Navigation[] = await loadNavigation() + $navigation = nav[0] + $serviceNavigation = nav[1] } async function getBanner() { @@ -95,25 +97,7 @@ {#if cookiesAllowed} - - - - - - - - - - - - - - - - - - - + @@ -156,9 +127,9 @@ {/if} - - + {/if} {/each} {/if} - +