Revert table header for challenges.

This commit is contained in:
yukirij 2024-08-27 17:17:44 -07:00
parent 02830ca999
commit f109cfce4b
2 changed files with 7 additions and 5 deletions

View File

@ -584,8 +584,8 @@ const INTERFACE = {
if(INTERFACE_DATA.auto_mode !== null) {
switch(INTERFACE_DATA.auto_mode) {
case 0: message = "Auto Dawn"; break;
case 1: message = "Auto Dusk"; break;
case 0: message = LANG("auto") + " " + LANG("dawn"); break;
case 1: message = LANG("auto") + " " + LANG("dusk"); break;
}
}

View File

@ -688,13 +688,14 @@ const SCENES = {
buttons.push(UI.button(LANG("challenge"), callback));
rows.push([
UI.text(""),
UI.text(data.users[r].handle),
buttons,
]);
}
let tbody = UI.table_content(
null,
[ LANG("rank"), LANG("handle"), "" ],
rows,
);
@ -771,13 +772,14 @@ const SCENES = {
buttons.push(UI.button(LANG("decline"), callback_decline));
rows.push([
UI.text(data.challenges[r].handle),
UI.text(""),
UI.text(data.users[r].handle),
buttons,
]);
}
let tbody = UI.table_content(
null,
[ LANG("rank"), LANG("handle"), "" ],
rows,
);