mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-01 22:09:55 +00:00
Fix graph.links cannot be iterated (#932)
Proxied links object now correctly supports spread operator.
This commit is contained in:
@@ -59,5 +59,7 @@ export class MapProxyHandler<V> implements ProxyHandler<Map<number | string, V>>
|
||||
map.entries = map.entries.bind(map)
|
||||
map.keys = map.keys.bind(map)
|
||||
map.values = map.values.bind(map)
|
||||
|
||||
map[Symbol.iterator] = map[Symbol.iterator].bind(map)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user