Skip to content

Commit 138b42f

Browse files
authored
Update permissionsaddarray.js
1 parent 27b8878 commit 138b42f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blocks/Monaco/permissionsaddarray.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Blockly.Blocks[blockName] = {
5050

5151
Blockly.JavaScript['monaco_edit_permissions'] = function(block) {
5252
var value_channel = Blockly.JavaScript.valueToCode(block, 'channel', Blockly.JavaScript.ORDER_ATOMIC);
53-
var value_action = block.getFieldValue(block, 'action', Blockly.JavaScript.ORDER_ATOMIC);
53+
var value_action = block.getFieldValue('action');
5454
var value_member = Blockly.JavaScript.valueToCode(block, 'member', Blockly.JavaScript.ORDER_ATOMIC);
5555
var statements = Blockly.JavaScript.statementToCode(block, 'then');
5656
// TODO: Assemble JavaScript into code variable.

0 commit comments

Comments
 (0)