fix: my bad chef

This commit is contained in:
AdrienLSH
2024-01-14 15:36:43 +01:00
parent a254e5a0c2
commit 56edb7424c
2 changed files with 15 additions and 4 deletions

View File

@ -57,6 +57,7 @@ export default class extends AbstractView {
// username
let username = document.createElement("a");
username.setAttribute('data-link', '');
username.id = `username${user.id}`
username.href = `/profiles/${user.id}`;
username.style.color = client.notice.online_users[user.id] !== undefined ? "green" : "red";