Admin-settings page fix.

This commit is contained in:
Dessalines 2020-07-27 00:56:37 -04:00
parent 571d0a6500
commit d96edb6802

View file

@ -92,7 +92,9 @@ export class AdminSettings extends Component<any, AdminSettingsState> {
) : (
<div class="row">
<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.bannedUsers()}
</div>