diff --git a/index.html b/index.html index 3a79e0292..b90b22876 100644 --- a/index.html +++ b/index.html @@ -12,11 +12,11 @@ font-family: 'Roboto Mono', 'Noto Color Emoji'; } --> - + diff --git a/src/scripts/ui/settings.ts b/src/scripts/ui/settings.ts index 7508fe6c7..f53689a1b 100644 --- a/src/scripts/ui/settings.ts +++ b/src/scripts/ui/settings.ts @@ -11,6 +11,7 @@ export class ComfySettingsDialog extends ComfyDialog { constructor(app: ComfyApp) { super(); + const frontendVersion = window["__COMFYUI_FRONTEND_VERSION__"]; this.app = app; this.settingsValues = {}; this.settingsLookup = {}; @@ -24,7 +25,7 @@ export class ComfySettingsDialog extends ComfyDialog { $el("table.comfy-modal-content.comfy-table", [ $el( "caption", - { textContent: "Settings" }, + { textContent: `Settings (v${frontendVersion})` }, $el("button.comfy-btn", { type: "button", textContent: "\u00d7",