From 4560f2cca97120f8f40a4041644d9b2160508fe7 Mon Sep 17 00:00:00 2001 From: bennykok Date: Sun, 11 Feb 2024 21:51:24 +0800 Subject: [PATCH] chore(plugin): update comfyui-json version --- web-plugin/index.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/web-plugin/index.js b/web-plugin/index.js index 4f0503b..c7350c2 100644 --- a/web-plugin/index.js +++ b/web-plugin/index.js @@ -1,7 +1,7 @@ import { app } from "./app.js"; import { api } from "./api.js"; import { ComfyWidgets, LGraphNode } from "./widgets.js"; -import { generateDependencyGraph } from "https://esm.sh/comfyui-json@0.1.14"; +import { generateDependencyGraph } from "https://esm.sh/comfyui-json@0.1.15"; /** @typedef {import('../../../web/types/comfy.js').ComfyExtension} ComfyExtension*/ /** @type {ComfyExtension} */ @@ -182,7 +182,7 @@ function showError(title, message) { function createDynamicUIHtml(data) { console.log(data); let html = - '
'; + '
'; const bgcolor = "var(--comfy-input-bg)"; const evenBg = "var(--border-color)"; const textColor = "var(--input-text)"; @@ -284,8 +284,12 @@ function addButton() { } const ok = await confirmDialog.confirm( - "Confirm deployment -> " + displayName, - `A new version will be deployed, are you conform?

Include dependence`, + "Confirm deployment -> " + + displayName + + "

" + + endpoint + + "

", + `A new version will be deployed, are you confirm?

Include dependence`, ); if (!ok) return;