From 854ad2c0766550997ff9ce90299717f017cbefcb Mon Sep 17 00:00:00 2001 From: dcore94 Date: Fri, 5 May 2023 18:02:32 +0200 Subject: [PATCH] fix communications between form and monitor --- 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 8433e60..302599f 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -259,7 +259,7 @@ class CCPExecutionHistory extends HTMLElement { connectNewExecution(){ document.addEventListener("newexecution", ev=>{ - this.#data = [ {id: ev.detail } ].concat(this.#data) + this.#data = [ ev.detail ].concat(this.#data) this.updateList() }) }