impr(account): replace "custom custom" with just "custom" in the result history table

This commit is contained in:
Miodec 2024-05-13 10:15:45 +02:00
parent f1a1432066
commit 7b7c4ae6b9

View file

@ -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>