Sync 2666 Execution Model Inversion (#312)

* Sync 2666 Execution Model Inversion

* Fix unittest

* Fallback compatible
This commit is contained in:
Chenlei Hu
2024-08-05 16:42:37 -04:00
committed by GitHub
parent 50c4c87e62
commit 3269b54aae
6 changed files with 21 additions and 8 deletions

View File

@@ -171,7 +171,9 @@ class ComfyApi extends EventTarget {
break
case 'executing':
this.dispatchEvent(
new CustomEvent('executing', { detail: msg.data.node })
new CustomEvent('executing', {
detail: msg.data.display_node || msg.data.node
})
)
break
case 'executed':