From 00790a344aa251fc216826cd2a9a1f19dabb20d9 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 21 Sep 2022 10:05:54 -0400 Subject: [PATCH] Fix private instance setting. Fixes #769 (#786) --- src/shared/components/home/site-form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/home/site-form.tsx b/src/shared/components/home/site-form.tsx index e9a5b14..5602d9b 100644 --- a/src/shared/components/home/site-form.tsx +++ b/src/shared/components/home/site-form.tsx @@ -427,7 +427,7 @@ export class SiteForm extends Component { class="form-check-input" id="create-site-private-instance" type="checkbox" - value={toUndefined(this.state.siteForm.default_theme)} + checked={toUndefined(this.state.siteForm.private_instance)} onChange={linkEvent(this, this.handleSitePrivateInstance)} />