mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-11 02:20:08 +00:00
Fix node types incorrectly sorted in minified code
This commit is contained in:
5487
build/litegraph.js
5487
build/litegraph.js
File diff suppressed because it is too large
Load Diff
11879
build/litegraph.min.js
vendored
11879
build/litegraph.min.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -417,7 +417,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
return this.auto_sort_node_types ? r.sort() : r;
|
||||
if (this.auto_sort_node_types) {
|
||||
r.sort((a, b) => a.title.localeCompare(b.title));
|
||||
}
|
||||
|
||||
return r;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user