mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 13:07:25 +00: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…
Reference in New Issue
Block a user