properly reset after deletion

This commit is contained in:
dcore94 2023-06-21 15:44:31 +02:00
parent 771294e02c
commit 6d779e3862
1 changed files with 2 additions and 0 deletions

View File

@ -236,6 +236,8 @@ class CCPMethodEditorController extends HTMLElement{
return null
}else throw "Error deleting method: " + resp.status
}).then(data=>{
this.#isupdate = false
this.initMethod()
this.unlockRender()
}).catch(err=>{
alert(err)