diff --git a/web/src/lib/components/admin-page/settings/new-version-check-settings/new-version-check-settings.svelte b/web/src/lib/components/admin-page/settings/new-version-check-settings/new-version-check-settings.svelte index 7a88bcc065..6fbfa014a1 100644 --- a/web/src/lib/components/admin-page/settings/new-version-check-settings/new-version-check-settings.svelte +++ b/web/src/lib/components/admin-page/settings/new-version-check-settings/new-version-check-settings.svelte @@ -12,6 +12,7 @@ import type { ResetOptions } from '$lib/utils/dipatch'; export let newVersionCheckConfig: SystemConfigNewVersionCheckDto; // this is the config that is being edited + export let disabled = false; let savedConfig: SystemConfigNewVersionCheckDto; let defaultConfig: SystemConfigNewVersionCheckDto; @@ -86,11 +87,13 @@ title="ENABLED" subtitle="Enable period requests to GitHub to check for new releases" bind:checked={newVersionCheckConfig.enabled} + {disabled} /> handleReset(detail)} on:save={saveSetting} showResetToDefault={!isEqual(savedConfig, defaultConfig)} + {disabled} /> diff --git a/web/src/routes/admin/system-settings/+page.svelte b/web/src/routes/admin/system-settings/+page.svelte index 8f3cc9f5fd..2a6fce5aec 100644 --- a/web/src/routes/admin/system-settings/+page.svelte +++ b/web/src/routes/admin/system-settings/+page.svelte @@ -116,7 +116,7 @@ - +