added infras info to executions
This commit is contained in:
parent
989d57078d
commit
5816564ee7
|
@ -450,8 +450,8 @@ class CCPExecutionHistory extends HTMLElement {
|
||||||
target : "span[name=infrastructure]",
|
target : "span[name=infrastructure]",
|
||||||
apply : (e,d)=>{
|
apply : (e,d)=>{
|
||||||
e.textContent = d.infrastructure
|
e.textContent = d.infrastructure
|
||||||
const t = infra.type.match(/docker/i) ? "docker" : null
|
const t = d.infrastructuretype.match(/docker/i) ? "docker" : null
|
||||||
const t2 = !t && infra.type.match(/lxd/i) ? "lxd" : t
|
const t2 = !t && d.infrastructuretype.match(/lxd/i) ? "lxd" : t
|
||||||
e.classList.add(t2)
|
e.classList.add(t2)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue