fix communications between form and monitor
This commit is contained in:
parent
659feb00ed
commit
a467a47ac6
|
@ -575,9 +575,10 @@ class CCPExecutionHistory extends HTMLElement {
|
|||
target : "span[name=runtime]",
|
||||
apply : (e,d)=>{
|
||||
const rt = d.runtime ? d.runtime : ""
|
||||
e.textContent = d.runtime + (d.replicas && d.replicas !== "1" ? ' x ' + d.replicas : '')
|
||||
const t = d.infrastructuretype.match(/docker/i) ? "docker" : null
|
||||
const t2 = !t && d.infrastructuretype.match(/lxd/i) ? "lxd" : t
|
||||
const infratype = d.infrastructuretype ? d.infrastructuretype : ""
|
||||
e.textContent = rt + (d.replicas && d.replicas !== "1" ? ' x ' + d.replicas : '')
|
||||
const t = infratype.match(/docker/i) ? "docker" : null
|
||||
const t2 = !t && infratype.match(/lxd/i) ? "lxd" : t
|
||||
e.classList.add(t2)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue