display hostname as title on leases table

This commit is contained in:
Oscar Krause 2023-01-04 11:17:00 +01:00
parent fc00dab5c9
commit 0c86f3275d

View File

@ -88,7 +88,7 @@ async function fetchLeases(element) {
<td>${new Date(o.lease_created).toLocaleDateString('system', dtc)}</td>
<td>${new Date(o.lease_updated).toLocaleDateString('system', dtc)}</td>
<td>${new Date(o.lease_expires).toLocaleDateString('system', dtc)}</td>
<td><code>${o.origin_ref}</code></td>`
<td><code title="hostname: ${x.origin.hostname}">${o.origin_ref}</code></td>`
tbody.appendChild(row);
})
table.appendChild(tbody)