Added dropdown under workflow gallery button for sharing, added a comfyui setting for showing/hiding share button in the main menu
This commit is contained in:
@@ -9,16 +9,16 @@ export class ShareDialog extends ComfyDialog {
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.element = $el("div.comfy-modal", { parent: document.body },
|
||||
[$el("div.comfy-modal-content",
|
||||
{
|
||||
style: {
|
||||
overflowY: "auto",
|
||||
}
|
||||
},
|
||||
[...this.createButtons()]),
|
||||
]);
|
||||
|
||||
this.element = $el("div.comfy-modal", { parent: document.body },
|
||||
[$el("div.comfy-modal-content",
|
||||
{
|
||||
style: {
|
||||
overflowY: "auto",
|
||||
}
|
||||
},
|
||||
[...this.createButtons()]),
|
||||
]);
|
||||
}
|
||||
|
||||
createButtons() {
|
||||
|
||||
Reference in New Issue
Block a user