mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 14:27:40 +00:00
Always include node title metadata for API export (#1771)
This commit is contained in:
@@ -2410,16 +2410,14 @@ export class ComfyApp {
|
||||
}
|
||||
}
|
||||
|
||||
let node_data = {
|
||||
const node_data = {
|
||||
inputs,
|
||||
class_type: node.comfyClass
|
||||
}
|
||||
|
||||
if (this.ui.settings.getSettingValue('Comfy.DevMode')) {
|
||||
// Ignored by the backend.
|
||||
node_data['_meta'] = {
|
||||
title: node.title
|
||||
}
|
||||
// Ignored by the backend.
|
||||
node_data['_meta'] = {
|
||||
title: node.title
|
||||
}
|
||||
|
||||
output[String(node.id)] = node_data
|
||||
|
||||
Reference in New Issue
Block a user