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