mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
[refactor] Use public nodes getter instead of private _nodes property (#5369)
This commit is contained in:
@@ -70,7 +70,7 @@ export function useSlotLayoutSync() {
|
|||||||
if (!graph) return
|
if (!graph) return
|
||||||
|
|
||||||
// Initial registration for all nodes in the current graph
|
// Initial registration for all nodes in the current graph
|
||||||
for (const node of graph._nodes) {
|
for (const node of graph.nodes) {
|
||||||
computeAndRegisterSlots(node)
|
computeAndRegisterSlots(node)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user