mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-06-13 01:10:19 +08:00
fix(graphToPrompt): forward arguments to the wrapped function (#2982)
Some checks are pending
Python Linting / Run Ruff (push) Waiting to run
Some checks are pending
Python Linting / Run Ruff (push) Waiting to run
Co-authored-by: Terry Jia <terry@comfy.org>
This commit is contained in:
parent
d60e603467
commit
194bcedcfc
@ -780,7 +780,7 @@ export function set_component_policy(v) {
|
|||||||
|
|
||||||
let graphToPrompt = app.graphToPrompt;
|
let graphToPrompt = app.graphToPrompt;
|
||||||
app.graphToPrompt = async function () {
|
app.graphToPrompt = async function () {
|
||||||
let p = await graphToPrompt.call(app);
|
let p = await graphToPrompt.apply(app, arguments);
|
||||||
try {
|
try {
|
||||||
let groupNodes = p.workflow.extra?.groupNodes;
|
let groupNodes = p.workflow.extra?.groupNodes;
|
||||||
if(groupNodes) {
|
if(groupNodes) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user