diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index ead1581..4f58e2c 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -208,7 +208,7 @@ class CCPExecutionHistory extends HTMLElement { const link = ev.target.parentElement.querySelector("input").value if(link){ if(confirm("Please confirm importing of execution from link?")){ - this.fromArchive(link) + this.fromArchiveFolder(link) } } }) @@ -425,7 +425,7 @@ class CCPExecutionHistory extends HTMLElement { }).catch(err=>{ alert(err)}) } - toArchive(id){ + toArchiveFolder(id){ this.#boot.secureFetch(`${this.#serviceurl}/executions/${id}/archive-to-folder`, { method: "POST" }) .then(reply =>{ if (!reply.ok) { @@ -434,7 +434,7 @@ class CCPExecutionHistory extends HTMLElement { }).catch(err=>{ alert(err)}) } - toOutputsArchive(id){ + toOutputsArchiveFolder(id){ this.#boot.secureFetch(`${this.#serviceurl}/executions/${id}/outputs/archive-to-folder`, { method: "POST" }) .then(reply =>{ if (!reply.ok) { @@ -443,7 +443,7 @@ class CCPExecutionHistory extends HTMLElement { }).catch(err=>{ alert(err)}) } - fromArchive(url){ + fromArchiveFolder(url){ if(url){ this.#boot.secureFetch(`${this.#serviceurl}/executions/archive?url=${url}`) .then(reply =>{