mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-07 14:09:59 +00:00
Fix configure trying to write to getter field (#143)
* Fix configure trying to write to getter field * Only add getter for nodes and groups
This commit is contained in:
@@ -877,22 +877,6 @@ const globalExport = {};
|
||||
return this._groups;
|
||||
}
|
||||
|
||||
get nodes_by_id() {
|
||||
return this._nodes_by_id;
|
||||
}
|
||||
|
||||
get nodes_executable() {
|
||||
return this._nodes_executable;
|
||||
}
|
||||
|
||||
get nodes_in_order() {
|
||||
return this._nodes_in_order;
|
||||
}
|
||||
|
||||
get version() {
|
||||
return this._version;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attach Canvas to this graph
|
||||
* @method attachCanvas
|
||||
@@ -2155,6 +2139,7 @@ const globalExport = {};
|
||||
for (var i in data) {
|
||||
if (i == "nodes" || i == "groups") //links must be accepted
|
||||
continue;
|
||||
|
||||
this[i] = data[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user