mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-01-31 08:20:24 +08:00
fix get_unresolved
This commit is contained in:
parent
6a510b4f9b
commit
3b225ffe46
@ -1163,9 +1163,9 @@ export class CustomNodesManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const resUnresolved = await this.fetchData(`/component/get_unresolved`);
|
const resUnresolved = await this.fetchData(`/component/get_unresolved`);
|
||||||
const unresolved_nodes = resUnresolved.data;
|
const unresolved = resUnresolved.data;
|
||||||
if (unresolved_nodes) {
|
if (unresolved && unresolved.nodes) {
|
||||||
unresolved_nodes.forEach(node_type => {
|
unresolved.nodes.forEach(node_type => {
|
||||||
const url = name_to_urls[node_type];
|
const url = name_to_urls[node_type];
|
||||||
if(url) {
|
if(url) {
|
||||||
missing_nodes.add(url);
|
missing_nodes.add(url);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user