From a564e5e7170850a94f9dbe457b5cb2b58ffd7d9b Mon Sep 17 00:00:00 2001 From: dcore94 Date: Thu, 6 Apr 2023 16:47:32 +0200 Subject: [PATCH] add category hints from methodlist --- ccp/js/methodeditorcontroller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ccp/js/methodeditorcontroller.js b/ccp/js/methodeditorcontroller.js index cf95ad6..59440d6 100644 --- a/ccp/js/methodeditorcontroller.js +++ b/ccp/js/methodeditorcontroller.js @@ -588,6 +588,7 @@ class CCPMethodEditorController extends HTMLElement{ ev.target.value = null if(this.#current.metadata.filter(md=>md.role === "category").length === 0){ this.#current.metadata.push({ role : "category", title : val}) + this.reRenderCategories() } } })