delay connectBroadcast in order to ensure subject
This commit is contained in:
parent
cdbbce3963
commit
de1179c515
|
@ -26,10 +26,10 @@ class CCPExecutionHistory extends HTMLElement {
|
||||||
this.#broadcasturl = this.#broadcasturl + "/ws/notification"
|
this.#broadcasturl = this.#broadcasturl + "/ws/notification"
|
||||||
this.#archive = this.getAttribute("archive")
|
this.#archive = this.getAttribute("archive")
|
||||||
this.connectNewExecution()
|
this.connectNewExecution()
|
||||||
this.connectBroadcast()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
connectedCallback(){
|
connectedCallback(){
|
||||||
|
this.connectBroadcast()
|
||||||
this.render()
|
this.render()
|
||||||
this.refreshExecutions()
|
this.refreshExecutions()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue