diff --git a/web/src/lib/components/user-settings-page/app-settings.svelte b/web/src/lib/components/user-settings-page/app-settings.svelte index ccee1e664f..33b6f5e8b8 100644 --- a/web/src/lib/components/user-settings-page/app-settings.svelte +++ b/web/src/lib/components/user-settings-page/app-settings.svelte @@ -80,7 +80,9 @@ }; const handleLocaleChange = (newLocale: string | undefined) => { - $locale = newLocale; + if (newLocale) { + $locale = newLocale; + } };