diff --git a/src/lib/components/chat/Settings/About.svelte b/src/lib/components/chat/Settings/About.svelte index 0183622e09..2a96535b35 100644 --- a/src/lib/components/chat/Settings/About.svelte +++ b/src/lib/components/chat/Settings/About.svelte @@ -5,7 +5,7 @@ import { getVersionUpdates } from '$lib/apis'; import { getOllamaVersion } from '$lib/apis/ollama'; import { WEBUI_BUILD_CHANNEL, WEBUI_VERSION } from '$lib/constants'; - import { WEBUI_NAME, config, showChangelog } from '$lib/stores'; + import { WEBUI_NAME, config, settings, showChangelog } from '$lib/stores'; import { compareVersion } from '$lib/utils'; import { onMount, getContext } from 'svelte'; @@ -66,7 +66,11 @@ >
-
+
{#if WEBUI_BUILD_CHANNEL === 'main' && $config?.features?.enable_version_update_check} @@ -74,6 +78,9 @@ {$i18n.t('Could not check for updates')} {:else} @@ -88,7 +95,9 @@