fix communications between form and monitor
This commit is contained in:
parent
e485d1f434
commit
659feb00ed
|
@ -259,10 +259,10 @@ class CCPExecutionHistory extends HTMLElement {
|
||||||
|
|
||||||
connectNewExecution(){
|
connectNewExecution(){
|
||||||
document.addEventListener("newexecution", ev=>{
|
document.addEventListener("newexecution", ev=>{
|
||||||
/*const s = ev.detail
|
const s = ev.detail
|
||||||
const dummy = { id : s.jobID, method : s.method, status : "accepted", created : s.updated, updated : s.updated, resources : []}
|
const dummy = { id : s.jobID, method : s.method, runtime : "", status : "accepted", created : s.updated, updated : s.updated, resources : []}
|
||||||
this.#data = [ dummy ].concat(this.#data)*/
|
this.#data = [ dummy ].concat(this.#data)
|
||||||
this.refreshExecutions()
|
this.updateList()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue