mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
fix: restore download notification
This commit is contained in:
parent
cf23c23134
commit
e7d8d49374
@ -337,6 +337,12 @@
|
|||||||
toast.error(data.error);
|
toast.error(data.error);
|
||||||
} else {
|
} else {
|
||||||
toast.success(`Model ${modelName} was successfully downloaded`);
|
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());
|
models.set(await getModels());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user