rearrange order.

This commit is contained in:
Dr.Lt.Data 2024-03-27 22:46:24 +09:00
parent 8ae7f40e16
commit cf2e95f8db
2 changed files with 19 additions and 19 deletions

View File

@ -1174,15 +1174,6 @@ class ManagerMenuDialog extends ComfyDialog {
ShareDialogChooser.instance.show();
},
},
{
title: "Open 'esheep'",
callback: () => {
const url = "https://www.esheep.com";
localStorage.setItem("wg_last_visited", url);
window.open(url, url);
modifyButtonStyle(url);
},
},
{
title: "Open 'openart.ai'",
callback: () => {
@ -1219,6 +1210,15 @@ class ManagerMenuDialog extends ComfyDialog {
modifyButtonStyle(url);
},
},
{
title: "Open 'esheep'",
callback: () => {
const url = "https://www.esheep.com";
localStorage.setItem("wg_last_visited", url);
window.open(url, url);
modifyButtonStyle(url);
},
},
{
title: "Close",
callback: () => {

View File

@ -264,16 +264,6 @@ export class ShareDialogChooser extends ComfyDialog {
}
createButtons() {
const buttons = [
{
key: "esheep",
textContent: "eSheep",
website: "https://www.esheep.com",
description: "Share & download thousands of ComfyUI workflows on <a style='color:white;' href='https://www.esheep.com' target='_blank'>esheep.com</a>",
onclick: () => {
shareToEsheep();
this.close();
}
},
{
key: "openart",
textContent: "OpenArt AI",
@ -316,6 +306,16 @@ export class ShareDialogChooser extends ComfyDialog {
})
}
},
{
key: "esheep",
textContent: "eSheep",
website: "https://www.esheep.com",
description: "Share & download thousands of ComfyUI workflows on <a style='color:white;' href='https://www.esheep.com' target='_blank'>esheep.com</a>",
onclick: () => {
shareToEsheep();
this.close();
}
},
];
function createShareButtonsWithDescriptions() {