From f1f8757dd2016e01ab3f3df8faa802fe529665ce Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 4 May 2021 13:57:02 -0400 Subject: [PATCH] Fix duped site description. Fixes #281 --- src/shared/components/main.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index 94d085a..6737974 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -412,7 +412,8 @@ export class Main extends Component { } siteName() { - return
{`${this.documentTitle}`}
; + let site = this.state.siteRes.site_view.site; + return site.name &&
{site.name}
; } admins() { -- 2.44.1