diff options
Diffstat (limited to 'apps/projects')
| -rw-r--r-- | apps/projects/src/app/pages/_layout.svelte | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/projects/src/app/pages/_layout.svelte b/apps/projects/src/app/pages/_layout.svelte index b75c062..f0f80a0 100644 --- a/apps/projects/src/app/pages/_layout.svelte +++ b/apps/projects/src/app/pages/_layout.svelte @@ -10,7 +10,6 @@ import { IconNames } from "$shared/lib/configuration"; import LL from "$app/lib/i18n/i18n-svelte"; import BlowoutToolbelt from "$shared/components/blowout-toolbelt.svelte"; - import { currentLocale } from "$shared/lib/locale"; let ProfileModalFunctions = {}; let showUserMenu = false; @@ -18,19 +17,13 @@ const userMenuId = "__menu_" + random_string(3); const username = get_session_data()?.profile.username; - function toolbelt_change(event) { - if (event.detail.name === "locale") { - currentLocale.set(event.detail.value); - } - } - onMount(() => { userMenuTriggerNode = document.getElementById("open-user-menu"); }); </script> <ProfileModal bind:functions={ProfileModalFunctions}/> -<BlowoutToolbelt on:change={toolbelt_change}/> +<BlowoutToolbelt/> <nav class="container max-width-xl@md width-fit-content@md width-100% max-width-none margin-y-xs@md margin-bottom-xs block@md position-relative@md position-absolute bottom-unset@md bottom-0"> <div class="tabs-nav-v2 justify-between"> |
