Revert table header for challenges.
This commit is contained in:
parent
02830ca999
commit
f109cfce4b
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user