Merge pull request #2 from alexopus/patch-1

Handle nodes with no widgets
This commit is contained in:
sn0w
2025-07-23 13:12:02 +02:00
committed by GitHub
+1 -1
View File
@@ -60,7 +60,7 @@ app.registerExtension({
// Collect menu items first
const menuItems = [];
node.widgets.forEach((widget) => {
node.widgets?.forEach((widget) => {
if (widget.type === "combo") {
const value = widget.value;
if (value.has_submenu) {