mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 00:34:09 +00:00
Highlight query in search result in node searchbox (#420)
* min match set to 2 * Highlight query in search result * nit
This commit is contained in:
@@ -111,7 +111,7 @@ export class NodeSearchService {
|
||||
|
||||
constructor(data: ComfyNodeDefImpl[]) {
|
||||
this.nodeFuseSearch = new FuseSearch(data, {
|
||||
keys: ['name', 'display_name', 'description'],
|
||||
keys: ['name', 'display_name'],
|
||||
includeScore: true,
|
||||
threshold: 0.3,
|
||||
shouldSort: true,
|
||||
|
||||
Reference in New Issue
Block a user