Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
e478b179
"web/git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "7891d13329c13943c1d90a5a0973262a85da97d0"
Commit
e478b179
authored
Dec 27, 2023
by
comfyanonymous
Browse files
Only add _meta title to api prompt when dev mode is enabled in UI.
parent
f15dce71
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
web/scripts/app.js
web/scripts/app.js
+9
-4
No files found.
web/scripts/app.js
View file @
e478b179
...
@@ -1781,14 +1781,19 @@ export class ComfyApp {
...
@@ -1781,14 +1781,19 @@ export class ComfyApp {
}
}
}
}
output
[
String
(
node
.
id
)]
=
{
let
node_data
=
{
inputs
,
inputs
,
class_type
:
node
.
comfyClass
,
class_type
:
node
.
comfyClass
,
};
if
(
this
.
ui
.
settings
.
getSettingValue
(
"
Comfy.DevMode
"
))
{
// Ignored by the backend.
// Ignored by the backend.
"
_meta
"
:
{
node_data
[
"
_meta
"
]
=
{
title
:
node
.
title
,
title
:
node
.
title
,
},
}
};
}
output
[
String
(
node
.
id
)]
=
node_data
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment