mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
impr(account): replace "custom custom" with just "custom" in the result history table
This commit is contained in:
parent
f1a1432066
commit
7b7c4ae6b9
1 changed files with 3 additions and 1 deletions
|
@ -144,6 +144,8 @@ function loadMoreLines(lineIndex?: number): void {
|
|||
|
||||
const charStats = result.charStats.join("/");
|
||||
|
||||
const mode2 = result.mode === "custom" ? "" : result.mode2;
|
||||
|
||||
const date = new Date(result.timestamp);
|
||||
$(".pageAccount .history table tbody").append(`
|
||||
<tr class="resultRow" id="result-${i}">
|
||||
|
@ -155,7 +157,7 @@ function loadMoreLines(lineIndex?: number): void {
|
|||
showDecimalPlaces: true,
|
||||
})}</td>
|
||||
<td>${charStats}</td>
|
||||
<td>${result.mode} ${result.mode2}</td>
|
||||
<td>${result.mode} ${mode2}</td>
|
||||
<td class="infoIcons">${icons}</td>
|
||||
<td>${resultTagsButton}</td>
|
||||
<td>${format(date, "dd MMM yyyy")}<br>
|
||||
|
|
Loading…
Reference in a new issue