]> Untitled Git - lemmy.git/commitdiff
Using full community title as document.title
authorDessalines <tyhou13@gmx.com>
Wed, 29 Jul 2020 04:29:19 +0000 (00:29 -0400)
committerDessalines <tyhou13@gmx.com>
Wed, 29 Jul 2020 04:29:19 +0000 (00:29 -0400)
ui/src/components/community.tsx

index 76e6450e20235f43e6c3e55d3d42535df675b792..579b4c196c6e372803de0c5b6e3023035a327e30 100644 (file)
@@ -176,8 +176,8 @@ export class Community extends Component<any, State> {
   }
 
   get documentTitle(): string {
-    if (this.state.community.name) {
-      return `!${this.state.community.name} - ${this.state.site.name}`;
+    if (this.state.community.title) {
+      return `${this.state.community.title} - ${this.state.site.name}`;
     } else {
       return 'Lemmy';
     }