mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-06 13:55:19 +08:00
fixed an error when user is banned from the lb
This commit is contained in:
parent
fe76caa37c
commit
0167358a62
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export function show(data, mode2) {
|
|||
let string = "";
|
||||
if (data.needsToVerifyEmail === true) {
|
||||
string = `please verify your email<br>to access leaderboards - <a onClick="sendVerificationEmail()">resend email</a>`;
|
||||
} else if (data.lbBanned) {
|
||||
} else if (data.banned || data.lbBanned) {
|
||||
string = "banned";
|
||||
} else if (data.name === false) {
|
||||
string = "update your name to access leaderboards";
|
||||
|
|
Loading…
Reference in a new issue