From dc322084bb8cbee02400c5913a9f749534d2e702 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Thu, 15 Feb 2024 20:26:24 -0800 Subject: [PATCH] refac: styling --- src/lib/components/chat/Settings/Models.svelte | 4 ++-- src/routes/error/+page.svelte | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/components/chat/Settings/Models.svelte b/src/lib/components/chat/Settings/Models.svelte index 529b778f..aafa333f 100644 --- a/src/lib/components/chat/Settings/Models.svelte +++ b/src/lib/components/chat/Settings/Models.svelte @@ -3,7 +3,7 @@ import toast from 'svelte-french-toast'; import { createModel, deleteModel, pullModel } from '$lib/apis/ollama'; - import { WEBUI_API_BASE_URL } from '$lib/constants'; + import { WEBUI_API_BASE_URL, WEBUI_NAME } from '$lib/constants'; import { models, user } from '$lib/stores'; import { splitStream } from '$lib/utils'; @@ -59,7 +59,7 @@ } else { toast.success(`Model '${modelName}' has been successfully downloaded.`); - const notification = new Notification(`Ollama`, { + const notification = new Notification(WEBUI_NAME, { body: `Model '${modelName}' has been successfully downloaded.`, icon: '/favicon.png' }); diff --git a/src/routes/error/+page.svelte b/src/routes/error/+page.svelte index 2ceea878..f7ba2f4f 100644 --- a/src/routes/error/+page.svelte +++ b/src/routes/error/+page.svelte @@ -1,5 +1,6 @@