From 6f2522ec4878c0ab923d5ae2bfce4a1c9b7ff90d Mon Sep 17 00:00:00 2001 From: dcore94 Date: Thu, 6 Apr 2023 15:23:37 +0200 Subject: [PATCH] add category input with hints --- ccp/js/methodeditorcontroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/js/methodeditorcontroller.js b/ccp/js/methodeditorcontroller.js index 687c1dd..09c54f4 100644 --- a/ccp/js/methodeditorcontroller.js +++ b/ccp/js/methodeditorcontroller.js @@ -754,7 +754,7 @@ class CCPMethodEditorController extends HTMLElement{ renderCategoryHints(){ const cats1 = ["Uncategorized", this.getCurrentCategory()] - const cats = [...new Set(cats)] + const cats = [...new Set(cats1)] return ` ${cats.map(c=>``)}