mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
feat: support suppressing version checks
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
};
|
||||
|
||||
onMount(async () => {
|
||||
if (!$config?.offline_mode) {
|
||||
if ($config?.features?.enable_version_update_check) {
|
||||
checkForVersionUpdates();
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{#if !$config?.offline_mode}
|
||||
{#if $config?.features?.enable_version_update_check}
|
||||
<button
|
||||
class=" text-xs px-3 py-1.5 bg-gray-50 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-800 transition rounded-lg font-medium"
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user