add category hints from methodlist

This commit is contained in:
dcore94 2023-04-06 16:15:17 +02:00
parent 207ecc31c9
commit e826dbb7b9
1 changed files with 1 additions and 1 deletions

View File

@ -764,7 +764,7 @@ class CCPMethodEditorController extends HTMLElement{
renderCategoryHints(){
const ml = document.querySelector("d4s-ccp-methodlist")
const cats = ml ? [...s].concat(ml.getCategoryHints()) : [...s]
const cats = ml.getCategoryHints()
if(cats.indexOf("Uncategorized") === -1) cats.push("Uncategorized")
return `
<datalist id="categoryhints">