From 6d779e3862dcd93ff16e354b124e76074164f314 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Wed, 21 Jun 2023 15:44:31 +0200 Subject: [PATCH] properly reset after deletion --- ccp/js/methodeditorcontroller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ccp/js/methodeditorcontroller.js b/ccp/js/methodeditorcontroller.js index c738577..5619af7 100644 --- a/ccp/js/methodeditorcontroller.js +++ b/ccp/js/methodeditorcontroller.js @@ -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)