Fix issue with site view for initial site setup.

This commit is contained in:
Dessalines 2021-01-19 10:34:04 -05:00
parent 6a3329f9a2
commit 23179d8951

View file

@ -267,7 +267,7 @@ export class Main extends Component<any, MainState> {
title={this.documentTitle}
path={this.context.router.route.match.url}
/>
{this.state.siteRes.site_view.site && (
{this.state.siteRes.site_view?.site && (
<div class="row">
<main role="main" class="col-12 col-md-8">
{this.posts()}