add category hints from methodlist
This commit is contained in:
parent
4dc64fe6b4
commit
e358d7ab50
|
@ -878,8 +878,8 @@ class CCPMethodEditorController extends HTMLElement{
|
||||||
if(this.#current.keywords){
|
if(this.#current.keywords){
|
||||||
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}" alt="${k}">
|
<div class="ccp-option badge ccp-category" title="${k.title}" alt="${k.title}">
|
||||||
<span>${k}</span>
|
<span>${k.title}</span>
|
||||||
<span class="btn text-danger ccp-toolbar-button" name="delete-category" data-index="${i}">x</span>
|
<span class="btn text-danger ccp-toolbar-button" name="delete-category" data-index="${i}">x</span>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue