From de1179c5153db2223b877ec6c8592fd9f2cb81b8 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Mon, 26 Jun 2023 19:57:34 +0200 Subject: [PATCH] delay connectBroadcast in order to ensure subject --- ccp/js/executionhistorycontroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index 5411b91..7c253ae 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -26,10 +26,10 @@ class CCPExecutionHistory extends HTMLElement { this.#broadcasturl = this.#broadcasturl + "/ws/notification" this.#archive = this.getAttribute("archive") this.connectNewExecution() - this.connectBroadcast() } connectedCallback(){ + this.connectBroadcast() this.render() this.refreshExecutions() }