fixed admin output

This commit is contained in:
Václav Šmejkal 2024-05-22 15:37:12 +02:00
parent 8b1e1185ee
commit 87847d6696
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -50,11 +50,12 @@
};
let sex = sex_codes[result.sex] || sex_codes.default;
let admin = result.admin == 0 ? "Ne" : "Ano";
let output =
`Uživatelské jméno: ${result.username}<br>
Přezdívka: ${result.nickname}<br>
Admin: ${result.admin}<br>
Admin: ${admin}<br>
Pohlaví: ${sex}<br>
Bio: ${result.bio}<br>`;