Skip to content

Commit 416649f

Browse files
committed
Correcting "control_ex" block: #1780
1 parent 125ebe6 commit 416649f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-editor/public/google-blockly/own/blocks_system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ Blockly.JavaScript.forBlock['control_ex'] = function (block) {
586586
fType = fType === true || fType === 'true' || fType === 'TRUE';
587587

588588
let expire = '';
589-
if (vExpire > 0) {
589+
if (vExpire) {
590590
expire = `, expire: ${vExpire}`;
591591
}
592592

0 commit comments

Comments
 (0)