mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 07:36:37 +00:00
Fixing undefined user page title. Fixes #77
This commit is contained in:
parent
e86cd3eddb
commit
fb45345bb2
|
@ -250,7 +250,7 @@ export class User extends Component<any, UserState> {
|
|||
}
|
||||
|
||||
get documentTitle(): string {
|
||||
return `@${this.state.userName} - ${this.state.siteRes.site.name}`;
|
||||
return `@${this.state.userRes.user.name} - ${this.state.siteRes.site.name}`;
|
||||
}
|
||||
|
||||
get bioTag(): string {
|
||||
|
|
Loading…
Reference in a new issue