Update orchestrator/src/client/pages/settings/components/DisplaySettingsSection.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Shaheer Sarfaraz 2026-01-20 23:32:35 +00:00 committed by GitHub
parent ad0ca7f183
commit 2d0d91cd2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ export const DisplaySettingsSection: React.FC<DisplaySettingsSectionProps> = ({
id="showSponsorInfo"
checked={isChecked}
onCheckedChange={(checked) => {
setShowSponsorInfoDraft(checked === true ? true : false)
setShowSponsorInfoDraft(checked === "indeterminate" ? null : checked === true)
}}
disabled={isLoading || isSaving}
/>