diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index f2ca7c4..a9bae8f 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -450,8 +450,8 @@ class CCPExecutionHistory extends HTMLElement { target : "span[name=infrastructure]", apply : (e,d)=>{ e.textContent = d.infrastructure - const t = infra.type.match(/docker/i) ? "docker" : null - const t2 = !t && infra.type.match(/lxd/i) ? "lxd" : t + const t = d.infrastructuretype.match(/docker/i) ? "docker" : null + const t2 = !t && d.infrastructuretype.match(/lxd/i) ? "lxd" : t e.classList.add(t2) } },