fix eslint error
This commit is contained in:
parent
5e459cb2f9
commit
260687dfaf
|
@ -304,10 +304,10 @@ ${d.pickupPointPostCode} ${d.pickupPointCity}`,
|
||||||
["Open code", "openCode"],
|
["Open code", "openCode"],
|
||||||
["Package number", "id"],
|
["Package number", "id"],
|
||||||
] as [string, string | ((d: typeof data) => string)][]).forEach(([key, value]) => {
|
] as [string, string | ((d: typeof data) => string)][]).forEach(([key, value]) => {
|
||||||
const row = infoTable.insertRow();
|
const infoRow = infoTable.insertRow();
|
||||||
const keyCell = row.insertCell();
|
const keyCell = infoRow.insertCell();
|
||||||
keyCell.innerText = key;
|
keyCell.innerText = key;
|
||||||
const valueCell = row.insertCell();
|
const valueCell = infoRow.insertCell();
|
||||||
if (typeof value === "string") {
|
if (typeof value === "string") {
|
||||||
valueCell.innerText = `${data[value]}`;
|
valueCell.innerText = `${data[value]}`;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue