properly reset after deletion
This commit is contained in:
parent
771294e02c
commit
6d779e3862
|
@ -236,6 +236,8 @@ class CCPMethodEditorController extends HTMLElement{
|
||||||
return null
|
return null
|
||||||
}else throw "Error deleting method: " + resp.status
|
}else throw "Error deleting method: " + resp.status
|
||||||
}).then(data=>{
|
}).then(data=>{
|
||||||
|
this.#isupdate = false
|
||||||
|
this.initMethod()
|
||||||
this.unlockRender()
|
this.unlockRender()
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
alert(err)
|
alert(err)
|
||||||
|
|
Loading…
Reference in New Issue