mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-13 15:02:37 +08:00
Fix aborting convert
This commit is contained in:
parent
c5eec07207
commit
32cdc7161d
@ -317,6 +317,8 @@ class ConvertToGroupAction {
|
|||||||
Object.values(app.canvas.selected_nodes).find((n) => n.constructor.nodeData?.[IS_GROUP_NODE]),
|
Object.values(app.canvas.selected_nodes).find((n) => n.constructor.nodeData?.[IS_GROUP_NODE]),
|
||||||
callback: async () => {
|
callback: async () => {
|
||||||
const name = this.getName();
|
const name = this.getName();
|
||||||
|
if(!name) return;
|
||||||
|
|
||||||
let extra = app.graph.extra;
|
let extra = app.graph.extra;
|
||||||
if (!extra) app.graph.extra = extra = {};
|
if (!extra) app.graph.extra = extra = {};
|
||||||
let groupNodes = extra.groupNodes;
|
let groupNodes = extra.groupNodes;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user