add category hints from methodlist

This commit is contained in:
dcore94 2023-04-06 16:52:27 +02:00
parent 4dc64fe6b4
commit e358d7ab50
1 changed files with 2 additions and 2 deletions

View File

@ -878,8 +878,8 @@ class CCPMethodEditorController extends HTMLElement{
if(this.#current.keywords){
return this.#current.metadata.filter(md=>md.role === "category").map((k,i) => {
return `
<div class="ccp-option badge ccp-category" title="${k}" alt="${k}">
<span>${k}</span>
<div class="ccp-option badge ccp-category" title="${k.title}" alt="${k.title}">
<span>${k.title}</span>
<span class="btn text-danger ccp-toolbar-button" name="delete-category" data-index="${i}">x</span>
</div>
`