add category hints from methodlist

This commit is contained in:
dcore94 2023-04-06 16:19:14 +02:00
parent e826dbb7b9
commit a982eb8be2
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class CCPMethodList extends HTMLElement{
if(this.#data === null) return [];
for(let i=0; i < this.#data.length; i++){
const cat = this.#data[i].metadata.filter(md=>md.role === "category").map(md=>md.title)
s.add(cat)
cat.forEach(c=>s.add(c))
}
return [...s]
}