add category hints from methodlist
This commit is contained in:
parent
207ecc31c9
commit
e826dbb7b9
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue