fixed origin table

This commit is contained in:
Oscar Krause 2023-01-03 21:23:57 +01:00
parent d06e100bef
commit 49279b6b66

View File

@ -36,8 +36,8 @@ async function fetchOriginsWithLeases(element) {
row.innerHTML = ` row.innerHTML = `
<td><code>${o.origin_ref}</code></td> <td><code>${o.origin_ref}</code></td>
<td>${o.hostname}</td> <td>${o.hostname}</td>
<td>${o.os_platform}</td> <td>${o.os_platform} (${o.os_version})</td>
<td>${o.os_version}</td> <td>${o.guest_driver_version}</td>
<td>${o.leases.map(x => `<code title="expires: ${x.lease_expires}">${x.lease_ref}</code>`).join(', ')}</td>` <td>${o.leases.map(x => `<code title="expires: ${x.lease_expires}">${x.lease_ref}</code>`).join(', ')}</td>`
tbody.appendChild(row); tbody.appendChild(row);
}) })