Merge branch 'Damian-master-patch-55364' into 'master'

Push [k] designation to user names if true

See merge request Damian/staff-directory!1
merge-requests/1/head
Damian 2023-06-15 06:08:43 +00:00
commit 3529e44e7a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
let name = `<strong>${user.username}</strong>`; let name = `<strong>${user.username}</strong>`;
let pn = []; let pn = [];
row.insertCell().innerHTML = `<img src="${user.avatarURL}" alt="${user.username}" style="width:30px;height:30px;"> ${name}`; row.insertCell().innerHTML = `<img src="${user.avatarURL}" alt="${user.username}" style="width:30px;height:30px;"> ${name} ${user.res.isManager ? ' [k]' : ''}`;
// row.insertCell().innerText = `${info.userID} | #${user.discriminator}`; // row.insertCell().innerText = `${info.userID} | #${user.discriminator}`;
let departmentAndTitle = ''; let departmentAndTitle = '';
if (info.title && info.dept) { if (info.title && info.dept) {