Compare commits

...

1 Commits

Author SHA1 Message Date
filtered
39c4313634 [Test] Update expectation context menu deprecation 2025-05-03 14:22:10 +10:00

View File

@@ -1127,13 +1127,11 @@ export class GroupNodeHandler {
getExtraMenuOptions?.apply(this, arguments) getExtraMenuOptions?.apply(this, arguments)
// @ts-expect-error fixme ts strict error // @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 if (optionIndex === -1) optionIndex = options.length
else optionIndex++
options.splice( options.splice(
optionIndex, optionIndex,
0, 0,
null,
{ {
content: 'Convert to nodes', content: 'Convert to nodes',
// @ts-expect-error // @ts-expect-error
@@ -1145,7 +1143,8 @@ export class GroupNodeHandler {
{ {
content: 'Manage Group Node', content: 'Manage Group Node',
callback: () => manageGroupNodes(this.type) callback: () => manageGroupNodes(this.type)
} },
null
) )
} }