We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27b8878 commit 138b42fCopy full SHA for 138b42f
src/blocks/Monaco/permissionsaddarray.js
@@ -50,7 +50,7 @@ Blockly.Blocks[blockName] = {
50
51
Blockly.JavaScript['monaco_edit_permissions'] = function(block) {
52
var value_channel = Blockly.JavaScript.valueToCode(block, 'channel', Blockly.JavaScript.ORDER_ATOMIC);
53
- var value_action = block.getFieldValue(block, 'action', Blockly.JavaScript.ORDER_ATOMIC);
+ var value_action = block.getFieldValue('action');
54
var value_member = Blockly.JavaScript.valueToCode(block, 'member', Blockly.JavaScript.ORDER_ATOMIC);
55
var statements = Blockly.JavaScript.statementToCode(block, 'then');
56
// TODO: Assemble JavaScript into code variable.
0 commit comments