Merge branch 'main' into feat/cnr

improved: support new front's prompt, alert api
modified: z-indices
This commit is contained in:
Dr.Lt.Data
2025-01-02 02:58:55 +09:00
24 changed files with 4893 additions and 3302 deletions

View File

@@ -1,5 +1,7 @@
import { app } from "../../scripts/app.js";
import { $el, ComfyDialog } from "../../scripts/ui.js";
import { customAlert } from "./common.js";
const env = "prod";
let DEFAULT_HOMEPAGE_URL = "https://copus.io";
@@ -603,7 +605,7 @@ export class CopusShareDialog extends ComfyDialog {
this.shareButton.textContent = "Sharing...";
await this.share();
} catch (e) {
alert(e.message);
customAlert(e.message);
}
this.shareButton.disabled = false;
this.shareButton.textContent = "Share";