diff --git a/web/extensions/core/clipspace.js b/web/extensions/core/clipspace.js index 0b4802d63..73d225d76 100644 --- a/web/extensions/core/clipspace.js +++ b/web/extensions/core/clipspace.js @@ -35,7 +35,6 @@ export class ClipspaceDialog extends ComfyDialog { // allow reconstruct controls when copying from non-image to image content. const children = $el("div.comfy-modal-content",[ self.createImgSettings(), -// self.createImgPreview(), ...self.createButtons() ]); @@ -49,6 +48,10 @@ export class ClipspaceDialog extends ComfyDialog { self.element = $el("div.comfy-modal", { parent: document.body }, [children,]); } + if(self.element.children[0].children.length <= 1) { + self.element.children[0].appendChild($el("p", {}, ["Unable to find the features to edit content of a format stored in the current Clipspace."])); + } + ClipspaceDialog.invalidatePreview(); } }