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]",
|
target : "span[name=runtime]",
|
||||||
apply : (e,d)=>{
|
apply : (e,d)=>{
|
||||||
const rt = d.runtime ? d.runtime : ""
|
const rt = d.runtime ? d.runtime : ""
|
||||||
e.textContent = d.runtime + (d.replicas && d.replicas !== "1" ? ' x ' + d.replicas : '')
|
const infratype = d.infrastructuretype ? d.infrastructuretype : ""
|
||||||
const t = d.infrastructuretype.match(/docker/i) ? "docker" : null
|
e.textContent = rt + (d.replicas && d.replicas !== "1" ? ' x ' + d.replicas : '')
|
||||||
const t2 = !t && d.infrastructuretype.match(/lxd/i) ? "lxd" : t
|
const t = infratype.match(/docker/i) ? "docker" : null
|
||||||
|
const t2 = !t && infratype.match(/lxd/i) ? "lxd" : t
|
||||||
e.classList.add(t2)
|
e.classList.add(t2)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue