Fix unhandled message "execution_cached"

This commit is contained in:
ssit 2023-06-12 17:16:03 -04:00
parent 30722d0843
commit c8e3f26b85

View File

@ -120,6 +120,9 @@ class ComfyApi extends EventTarget {
case "execution_error":
this.dispatchEvent(new CustomEvent("execution_error", { detail: msg.data }));
break;
case "execution_cached":
this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data }));
break;
default:
if (this.#registered.has(msg.type)) {
this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));