diff --git a/ccp/js/methodeditorcontroller.js b/ccp/js/methodeditorcontroller.js index 265baf1..687c1dd 100644 --- a/ccp/js/methodeditorcontroller.js +++ b/ccp/js/methodeditorcontroller.js @@ -753,10 +753,11 @@ class CCPMethodEditorController extends HTMLElement{ } renderCategoryHints(){ - const cats = ["Uncategorized", this.getCurrentCategory()] + const cats1 = ["Uncategorized", this.getCurrentCategory()] + const cats = [...new Set(cats)] return ` - ${cats.map(c=>``} + ${cats.map(c=>``)} ` }