Browse Source

Admin-settings page fix. (#1031)

post_thumbnail_url_fixes
Dessalines 1 year ago
committed by GitHub
parent
commit
5ada39f39c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/src/components/admin-settings.tsx

4
ui/src/components/admin-settings.tsx

@ -102,7 +102,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>

Loading…
Cancel
Save