check if workflowNode And widgets_values are defined as they were causing errors on QueuePrompt after loading workFlow
This commit is contained in:
parent
4e43758236
commit
ca2ae98470
|
@ -30,6 +30,7 @@ app.registerExtension({
|
|||
}
|
||||
|
||||
// Overwrite the value in the serialized workflow pnginfo
|
||||
if (workflowNode?.widgets_values)
|
||||
workflowNode.widgets_values[widgetIndex] = prompt;
|
||||
|
||||
return prompt;
|
||||
|
|
Loading…
Reference in New Issue