From 99c22266499d0305f416a0a563741aa97e9acc38 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Thu, 18 May 2023 12:11:46 +0200 Subject: [PATCH] reenabled event --- ccp/js/executionhistorycontroller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index c48fae9..20a39a2 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -6,6 +6,7 @@ class CCPExecutionHistory extends HTMLElement { #broadcasturl = null; #archive = null; #data = []; + #pending = []; #filtered = []; #socket = null; #interval = null; @@ -259,7 +260,7 @@ class CCPExecutionHistory extends HTMLElement { connectNewExecution(){ document.addEventListener("newexecution", ev=>{ - //add toast here + this.pending.push(ev.details) }) }