Compare commits

...

2 Commits

Author SHA1 Message Date
Chenlei Hu
affb116a4d 1.5.19 (#1981) 2024-12-18 09:07:04 -08:00
filtered
0ce66e9e97 Fix cannot open groupNodes menu from canvas (#1980)
* Fix cannot open groupNode menu from canvas

* Fix cannot open groupNode menu from canvas

Fixes root cause of issue

* Update release.yaml with core/1.5 branch
2024-12-18 09:03:09 -08:00
5 changed files with 8 additions and 6 deletions

View File

@@ -6,6 +6,7 @@ on:
branches:
- main
- master
- core/1.5
paths:
- "package.json"

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@comfyorg/comfyui-frontend",
"version": "1.5.18",
"version": "1.5.19",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@comfyorg/comfyui-frontend",
"version": "1.5.18",
"version": "1.5.19",
"license": "GPL-3.0-only",
"dependencies": {
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",

View File

@@ -1,7 +1,7 @@
{
"name": "@comfyorg/comfyui-frontend",
"private": true,
"version": "1.5.18",
"version": "1.5.19",
"type": "module",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"homepage": "https://comfy.org",

View File

@@ -1425,7 +1425,7 @@ function addConvertToGroupOptions() {
options.splice(index + 1, null, {
content: `Manage Group Nodes`,
disabled,
callback: manageGroupNodes
callback: () => manageGroupNodes()
})
}

View File

@@ -373,7 +373,7 @@ export class ManageGroupDialog extends ComfyDialog<HTMLDialogElement> {
groupNodes.map((g) =>
$el('option', {
textContent: g,
selected: `${PREFIX}${SEPARATOR}` + g === type,
selected: `${PREFIX}${SEPARATOR}${g}` === type,
value: g
})
)
@@ -512,7 +512,8 @@ export class ManageGroupDialog extends ComfyDialog<HTMLDialogElement> {
this.element.replaceChildren(outer)
this.changeGroup(
type
? groupNodes.find((g) => `${PREFIX}${SEPARATOR}` + g === type)
? groupNodes.find((g) => `${PREFIX}${SEPARATOR}${g}` === type) ??
groupNodes[0]
: groupNodes[0]
)
this.element.showModal()