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/*": ["./*"]