fix eslint error

master
selfisekai 2020-10-31 21:02:06 +01:00
parent 5e459cb2f9
commit 260687dfaf
1 changed files with 3 additions and 3 deletions

View File

@ -304,10 +304,10 @@ ${d.pickupPointPostCode} ${d.pickupPointCity}`,
["Open code", "openCode"],
["Package number", "id"],
] as [string, string | ((d: typeof data) => string)][]).forEach(([key, value]) => {
const row = infoTable.insertRow();
const keyCell = row.insertCell();
const infoRow = infoTable.insertRow();
const keyCell = infoRow.insertCell();
keyCell.innerText = key;
const valueCell = row.insertCell();
const valueCell = infoRow.insertCell();
if (typeof value === "string") {
valueCell.innerText = `${data[value]}`;
} else {