add category input with hints

This commit is contained in:
dcore94 2023-04-06 15:23:37 +02:00
parent 390b65cdb7
commit 6f2522ec48
1 changed files with 1 additions and 1 deletions

View File

@ -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 `
<datalist id="categoryhints">
${cats.map(c=>`<option value="${c}">${c}</option>`)}