fix(ProfilePage): setTitle looked up in the language files for username

This commit is contained in:
AdrienLSH 2024-03-22 10:55:35 +01:00
parent 56b6a78287
commit e896f6dd21

View File

@ -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);