Admin-settings page fix. (#1031)

This commit is contained in:
Dessalines 2020-07-27 11:54:59 -04:00 committed by GitHub
parent 6e4599411b
commit 5ada39f39c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,9 @@ export class AdminSettings extends Component<any, AdminSettingsState> {
) : ( ) : (
<div class="row"> <div class="row">
<div class="col-12 col-md-6"> <div class="col-12 col-md-6">
<SiteForm site={this.state.siteRes.site} /> {this.state.siteRes.site.id && (
<SiteForm site={this.state.siteRes.site} />
)}
{this.admins()} {this.admins()}
{this.bannedUsers()} {this.bannedUsers()}
</div> </div>