fix(ProfilePage): setTitle looked up in the language files for username
This commit is contained in:
parent
56b6a78287
commit
e896f6dd21
@ -7,6 +7,10 @@ export default class extends AbstractView {
|
|||||||
this.username = decodeURI(params.username);
|
this.username = decodeURI(params.username);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setTitle() {
|
||||||
|
document.title = this.username;
|
||||||
|
}
|
||||||
|
|
||||||
async postInit()
|
async postInit()
|
||||||
{
|
{
|
||||||
this.profile = await client.profiles.getProfile(this.username);
|
this.profile = await client.profiles.getProfile(this.username);
|
||||||
|
Loading…
Reference in New Issue
Block a user