Commit e7d8d493 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: restore download notification

parent cf23c231
......@@ -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());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment