Always include node title metadata for API export (#1771)

This commit is contained in:
Chenlei Hu
2024-12-02 19:49:42 -08:00
committed by GitHub
parent 13869da300
commit d2771a7a1d

View File

@@ -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