Fix private instance setting. Fixes #769 (#786)

This commit is contained in:
Dessalines 2022-09-21 10:05:54 -04:00 committed by GitHub
parent 4b763d1b06
commit 00790a344a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,7 +427,7 @@ export class SiteForm extends Component<SiteFormProps, SiteFormState> {
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)}
/>
<label