mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-24 05:44:07 +00:00
- Restore the /** opener above displayFileHandler in utils/index.ts that was dropped during the earlier merge; the orphaned comment body made the file fail TypeScript parsing and broke the frontend build. - admin Settings/Interface.svelte now imports InterfaceDefaultsModal and ConfirmDialog and declares the showInterfaceDefaultsModal / showResetConfirmDialog flags that were already being bound at the bottom of the template, resolving the unresolved-identifier compile errors. - InterfaceDefaultsModal no longer lowercases chatDirection before saving. The user-side store is typed 'LTR' | 'RTL' | 'auto' and the toggle/render logic matches those uppercase values; lowercasing on the admin side made every saved RTL/LTR default silently render as "Auto" for end users. - InterfaceDefaultsModal drops the outer <form> wrapper. InterfaceSettings already renders its own <form> and nesting forms is invalid HTML; the Save button is now a plain type="button" with on:click=submitHandler, which keeps the click-to-save behaviour without the nested-form event routing surprises. - +layout.svelte fetches user settings and admin defaults in parallel via Promise.all, with an inline .catch fallback on the defaults call so the endpoint being unavailable still lets user settings apply. This removes an avoidable serial round-trip on every authenticated load. |
||
|---|---|---|
| .. | ||
| lib | ||
| routes | ||
| app.css | ||
| app.d.ts | ||
| app.html | ||
| tailwind.css | ||