Using full community title as document.title

This commit is contained in:
Dessalines 2020-07-29 00:29:19 -04:00
parent ff7e0c72f9
commit 2d00b1d0fb

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