Admin-settings page fix. (#1031)
This commit is contained in:
parent
6e4599411b
commit
5ada39f39c
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
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue