Admin-settings page fix.
This commit is contained in:
parent
571d0a6500
commit
d96edb6802
1 changed files with 3 additions and 1 deletions
4
ui/src/components/admin-settings.tsx
vendored
4
ui/src/components/admin-settings.tsx
vendored
|
@ -92,7 +92,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>
|
||||||
|
|
Loading…
Reference in a new issue