mirror of
https://github.com/open-webui/open-webui
synced 2024-11-26 14:02:29 +00:00
fix: restore download notification
This commit is contained in:
parent
cf23c23134
commit
e7d8d49374
@ -337,6 +337,12 @@
|
||||
toast.error(data.error);
|
||||
} else {
|
||||
toast.success(`Model ${modelName} was successfully downloaded`);
|
||||
|
||||
const notification = new Notification(`Ollama`, {
|
||||
body: `Model '${modelName}' has been successfully downloaded.`,
|
||||
icon: '/favicon.png'
|
||||
});
|
||||
|
||||
models.set(await getModels());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user