mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-07-20 19:54:28 +08:00
fix: model list update after save
This commit is contained in:
parent
b7f3607f48
commit
044ee2a78c
@ -12,6 +12,7 @@
|
|||||||
const saveSettings = async (updated) => {
|
const saveSettings = async (updated) => {
|
||||||
console.log(updated);
|
console.log(updated);
|
||||||
await settings.set({ ...$settings, ...updated });
|
await settings.set({ ...$settings, ...updated });
|
||||||
|
await models.set(await getModels());
|
||||||
localStorage.setItem('settings', JSON.stringify($settings));
|
localStorage.setItem('settings', JSON.stringify($settings));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user