cannot enable plexiglass on method load
This commit is contained in:
parent
6d9989f352
commit
df2404a397
|
@ -120,7 +120,6 @@ class CCPExecutionForm extends HTMLElement{
|
||||||
}
|
}
|
||||||
|
|
||||||
loadMethod(){
|
loadMethod(){
|
||||||
this.lockRender()
|
|
||||||
return this.#boot.secureFetch(this.#serviceurl + "/processes/" + this.#method).then(
|
return this.#boot.secureFetch(this.#serviceurl + "/processes/" + this.#method).then(
|
||||||
(resp)=>{
|
(resp)=>{
|
||||||
if(resp.status === 200){
|
if(resp.status === 200){
|
||||||
|
@ -135,10 +134,9 @@ class CCPExecutionForm extends HTMLElement{
|
||||||
|
|
||||||
}).then(resp=>{
|
}).then(resp=>{
|
||||||
this.#data.executable = resp.status === 200
|
this.#data.executable = resp.status === 200
|
||||||
this.unlockRender()
|
|
||||||
}).then(()=>{
|
}).then(()=>{
|
||||||
this.showMethod()
|
this.showMethod()
|
||||||
}).catch(err=>{alert(err); this.unlockRender()})
|
}).catch(err=>alert(err))
|
||||||
}
|
}
|
||||||
|
|
||||||
showEmpty(resp){
|
showEmpty(resp){
|
||||||
|
|
Loading…
Reference in New Issue