fix(blockly): Fix Logic Builder node color scheme crash

Changed category from 'Logic' to 'CustomCode' and color from 'purple' to 'javascript' to match Expression node pattern. This ensures the node picker can find the correct color scheme.

Fixes: EditorNode crash 'Cannot read properties of undefined (reading text)'
Issue: colors prop was undefined because color scheme 'purple' doesn't exist
This commit is contained in:
Richard Osborne
2026-01-11 13:42:25 +01:00
parent 45b458c192
commit 8039791d7e

View File

@@ -18,8 +18,8 @@ const LogicBuilderNode = {
docs: 'https://docs.noodl.net/nodes/logic/logic-builder', docs: 'https://docs.noodl.net/nodes/logic/logic-builder',
displayNodeName: 'Logic Builder', displayNodeName: 'Logic Builder',
shortDesc: 'Build logic visually with blocks', shortDesc: 'Build logic visually with blocks',
category: 'Logic', category: 'CustomCode',
color: 'purple', color: 'javascript',
nodeDoubleClickAction: { nodeDoubleClickAction: {
focusPort: 'workspace' focusPort: 'workspace'
}, },