Using full community title as document.title

pull/1047/head
Dessalines 2020-07-29 00:29:19 -04:00
parent ff7e0c72f9
commit 2d00b1d0fb
1 changed files with 2 additions and 2 deletions

View 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';
}