delay connectBroadcast in order to ensure subject

This commit is contained in:
dcore94 2023-06-26 19:57:34 +02:00
parent cdbbce3963
commit de1179c515
1 changed files with 1 additions and 1 deletions

View File

@ -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()
} }