add category hints from methodlist
This commit is contained in:
parent
682212f1bc
commit
459347d948
|
@ -875,7 +875,7 @@ class CCPMethodEditorController extends HTMLElement{
|
||||||
}
|
}
|
||||||
|
|
||||||
renderCategories(){
|
renderCategories(){
|
||||||
if(this.#current.keywords){
|
if(this.#current.metadata){
|
||||||
return this.#current.metadata.filter(md=>md.role === "category").map((k,i) => {
|
return this.#current.metadata.filter(md=>md.role === "category").map((k,i) => {
|
||||||
return `
|
return `
|
||||||
<div class="ccp-option badge ccp-category" title="${k.title}" alt="${k.title}">
|
<div class="ccp-option badge ccp-category" title="${k.title}" alt="${k.title}">
|
||||||
|
|
Loading…
Reference in New Issue