Fix duped site description. Fixes #281

This commit is contained in:
Dessalines 2021-05-04 13:57:02 -04:00
parent d174b53876
commit f1f8757dd2

View file

@ -412,7 +412,8 @@ export class Main extends Component<any, MainState> {
}
siteName() {
return <h5 class="mb-0">{`${this.documentTitle}`}</h5>;
let site = this.state.siteRes.site_view.site;
return site.name && <h5 class="mb-0">{site.name}</h5>;
}
admins() {