mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 22:31:20 +00:00
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="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…
Reference in a new issue