added infras info to executions

This commit is contained in:
dcore94 2023-03-29 16:24:42 +02:00
parent 989d57078d
commit 5816564ee7
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
},