diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js
index f0547e2..1cecae9 100644
--- a/ccp/js/executionhistorycontroller.js
+++ b/ccp/js/executionhistorycontroller.js
@@ -4,11 +4,14 @@ class CCPExecutionHistory extends HTMLElement {
#rootdoc = null;
#serviceurl = null;
#broadcasturl = null;
+ #archive = null;
#data = [];
#filtered = [];
#socket = null;
#interval = null;
#searchfield = null;
+ #fileupload = null;
+ #archiveupload = null;
constructor(){
super()
@@ -20,6 +23,7 @@ class CCPExecutionHistory extends HTMLElement {
this.#broadcasturl = this.#serviceurl.replace(/^http/, "ws")
}
this.#broadcasturl = this.#broadcasturl + "/ws/notification"
+ this.#archive = this.getAttribute("archive")
this.connectNewExecution()
this.connectBroadcast()
}
@@ -73,15 +77,18 @@ class CCPExecutionHistory extends HTMLElement {
+ ${ this.#archive ? `
+ `
+ : ``
+ }
-