mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 13:32:36 +08:00
Only show the Paste menu if the ComfyApp.clipspace is not empty
This commit is contained in:
parent
a364df24cc
commit
5920edba3a
@ -160,7 +160,10 @@ export class ComfyApp {
|
|||||||
'images': this.images
|
'images': this.images
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
},
|
});
|
||||||
|
|
||||||
|
if(ComfyApp.clipspace != null) {
|
||||||
|
options.push(
|
||||||
{
|
{
|
||||||
content: "Paste (Clipspace)",
|
content: "Paste (Clipspace)",
|
||||||
callback: () => {
|
callback: () => {
|
||||||
@ -205,6 +208,7 @@ export class ComfyApp {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user