Skip to content

Commit 40616ef

Browse files
committed
fix(bug): ensuring the five-button manager menu renders in the legacy-ui mode
1 parent bd4ede2 commit 40616ef

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

comfyui_manager/js/comfyui-manager.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,12 @@ app.registerExtension({
14681468
tooltip: "Share"
14691469
}).element
14701470
);
1471+
1472+
if (app.menu?.settingsGroup?.element) {
1473+
app.menu.settingsGroup.element.before(cmGroup.element);
1474+
} else {
1475+
menu.append(cmGroup.element);
1476+
}
14711477
}
14721478
catch(exception) {
14731479
console.log('ComfyUI is outdated. New style menu based features are disabled.');

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "comfyui-manager"
77
license = { text = "GPL-3.0-only" }
8-
version = "4.2.2"
8+
version = "4.2.2a"
99
requires-python = ">= 3.9"
1010
description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI."
1111
readme = "README.md"

0 commit comments

Comments
 (0)