From 61537d985d8cfb3efa7bdfbc6c182260457acc26 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Sat, 5 Oct 2024 15:33:22 +0900 Subject: [PATCH] FIXED: component feature - compatibility patch https://github.com/ltdrdata/ComfyUI-Manager/issues/1108 --- glob/manager_core.py | 2 +- js/comfyui-manager.js | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glob/manager_core.py b/glob/manager_core.py index 9614ad33..69ffea65 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -23,7 +23,7 @@ import cm_global from manager_util import * -version = [2, 51, 2] +version = [2, 51, 3] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index 8d066571..ac88d9e9 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -1483,7 +1483,7 @@ app.registerExtension({ node.prototype.getExtraMenuOptions = function (_, options) { origGetExtraMenuOptions?.apply?.(this, arguments); - if (node.category.startsWith('group nodes/')) { + if (node.category.startsWith('group nodes>')) { options.push({ content: "Save As Component", callback: (obj) => { diff --git a/pyproject.toml b/pyproject.toml index f85c8792..d3cfc7f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-manager" description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI." -version = "2.51.2" +version = "2.51.3" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]