mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 23:50:08 +00:00
[Test] Update expectation context menu deprecation
This commit is contained in:
@@ -1127,13 +1127,11 @@ export class GroupNodeHandler {
|
||||
getExtraMenuOptions?.apply(this, arguments)
|
||||
|
||||
// @ts-expect-error fixme ts strict error
|
||||
let optionIndex = options.findIndex((o) => o.content === 'Outputs')
|
||||
let optionIndex = options.findIndex((o) => o.content === 'Properties')
|
||||
if (optionIndex === -1) optionIndex = options.length
|
||||
else optionIndex++
|
||||
options.splice(
|
||||
optionIndex,
|
||||
0,
|
||||
null,
|
||||
{
|
||||
content: 'Convert to nodes',
|
||||
// @ts-expect-error
|
||||
@@ -1145,7 +1143,8 @@ export class GroupNodeHandler {
|
||||
{
|
||||
content: 'Manage Group Node',
|
||||
callback: () => manageGroupNodes(this.type)
|
||||
}
|
||||
},
|
||||
null
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user