From 40616ef70064c723e58d1279c7844abe6ead0569 Mon Sep 17 00:00:00 2001 From: Le Dissolution Date: Tue, 14 Jul 2026 13:34:08 +0200 Subject: [PATCH] fix(bug): ensuring the five-button manager menu renders in the legacy-ui mode --- comfyui_manager/js/comfyui-manager.js | 6 ++++++ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/comfyui_manager/js/comfyui-manager.js b/comfyui_manager/js/comfyui-manager.js index afb15baf..24a51d86 100644 --- a/comfyui_manager/js/comfyui-manager.js +++ b/comfyui_manager/js/comfyui-manager.js @@ -1468,6 +1468,12 @@ app.registerExtension({ tooltip: "Share" }).element ); + + if (app.menu?.settingsGroup?.element) { + app.menu.settingsGroup.element.before(cmGroup.element); + } else { + menu.append(cmGroup.element); + } } catch(exception) { console.log('ComfyUI is outdated. New style menu based features are disabled.'); diff --git a/pyproject.toml b/pyproject.toml index ed8e5f72..130b49b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "comfyui-manager" license = { text = "GPL-3.0-only" } -version = "4.2.2" +version = "4.2.2a" requires-python = ">= 3.9" description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI." readme = "README.md"