fixed naming
This commit is contained in:
parent
3e1dd1bf6d
commit
8407f59013
|
@ -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 =>{
|
||||
|
|
Loading…
Reference in New Issue