mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-09 06:04:31 +08:00
show version
This commit is contained in:
parent
e5a70a1e81
commit
735ab74540
@ -2,6 +2,8 @@ import { app } from "/scripts/app.js";
|
||||
import { ComfyDialog, $el } from "/scripts/ui.js";
|
||||
import {ComfyWidgets} from "../../scripts/widgets.js";
|
||||
|
||||
const comfyui_manager_version = "V0.1";
|
||||
|
||||
async function getCustomNodes() {
|
||||
var mode = "url";
|
||||
if(ManagerMenuDialog.instance.local_mode_checkbox.checked)
|
||||
@ -652,7 +654,7 @@ class ManagerMenuDialog extends ComfyDialog {
|
||||
|
||||
const res =
|
||||
[
|
||||
$el("tr.td", {width:"100%"}, [$el("font", {size:6, color:"white"}, ["Manager Menu"])]),
|
||||
$el("tr.td", {width:"100%"}, [$el("font", {size:6, color:"white"}, [`Manager Menu (${comfyui_manager_version})`])]),
|
||||
$el("br", {}, []),
|
||||
$el("div", {}, [this.local_mode_checkbox, checkbox_text]),
|
||||
$el("br", {}, []),
|
||||
@ -695,7 +697,8 @@ class ManagerMenuDialog extends ComfyDialog {
|
||||
type: "button",
|
||||
textContent: "Close",
|
||||
onclick: () => this.close(),
|
||||
})
|
||||
}),
|
||||
$el("br", {}, []),
|
||||
];
|
||||
|
||||
res[0].style.backgroundColor = "black";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user