diff --git a/app/static/assets/js/helper.js b/app/static/assets/js/helper.js index b7ab7ee..898a03a 100644 --- a/app/static/assets/js/helper.js +++ b/app/static/assets/js/helper.js @@ -33,11 +33,12 @@ async function fetchOriginsWithLeases(element) { let tbody = document.createElement('thead'); x.sort((a, b) => a.hostname.localeCompare(b.hostname)).forEach((o) => { let row = document.createElement('tr'); + const branchVersion= o.$driver ? `(${o.$driver.branch_version}) ` : '' row.innerHTML = ` ${o.origin_ref} ${o.hostname} ${o.os_platform} (${o.os_version}) - ${o.guest_driver_version} + ${branchVersion}${o.guest_driver_version} ${o.leases.map(x => `${x.lease_ref}`).join(', ')}` tbody.appendChild(row); })