Only show the Paste menu if the ComfyApp.clipspace is not empty

This commit is contained in:
Lt.Dr.Data 2023-04-21 15:45:22 +09:00
parent a364df24cc
commit 5920edba3a

View File

@ -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 {
} }
} }
); );
}
}; };
} }