"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "dd768142583322e3b22280400e3d1826dccddb94"
Commit ca2ae984 authored by omar92's avatar omar92
Browse files

check if workflowNode And widgets_values are defined as they were causing...

check if workflowNode And widgets_values are defined as they were causing errors on QueuePrompt  after loading workFlow
parent 4e437582
...@@ -30,6 +30,7 @@ app.registerExtension({ ...@@ -30,6 +30,7 @@ app.registerExtension({
} }
// Overwrite the value in the serialized workflow pnginfo // Overwrite the value in the serialized workflow pnginfo
if (workflowNode?.widgets_values)
workflowNode.widgets_values[widgetIndex] = prompt; workflowNode.widgets_values[widgetIndex] = prompt;
return prompt; return prompt;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment