From 258c476642df2858e3e91c41cc6c440b4bc88443 Mon Sep 17 00:00:00 2001 From: OrigamingWasTaken <74014262+OrigamingWasTaken@users.noreply.github.com> Date: Fri, 5 Apr 2024 18:12:03 +0200 Subject: [PATCH] Fix imports --- frontend/src/windows/main/pages/Settings/Panel.svelte | 6 ++---- tsconfig.json | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/src/windows/main/pages/Settings/Panel.svelte b/frontend/src/windows/main/pages/Settings/Panel.svelte index 7a1f623..63187f0 100644 --- a/frontend/src/windows/main/pages/Settings/Panel.svelte +++ b/frontend/src/windows/main/pages/Settings/Panel.svelte @@ -54,6 +54,7 @@ $: { dispatch('settingsChanged', sections); } } + {#if settingsLoaded} @@ -91,10 +92,7 @@ $: { {:else if inter.options.type === 'dropdown'} { - sections[section.id][inter.id] = e?.value - }}> + selected={sections[section.id][inter.id]}> diff --git a/tsconfig.json b/tsconfig.json index 5feda0a..a2bc130 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,8 +16,8 @@ "checkJs": true, "isolatedModules": true, "paths": { - "$lib": ["frontend/src/assets/panel/lib"], - "$lib/*": ["frontend/src/assets/panel/lib/*"], + "$lib": ["./frontend/src/lib/"], + "$lib/*": ["./frontend/src/lib/*"], "@": ["./frontend/src/"], "@/*": ["./frontend/src/*"], "@root/*": ["./*"]