We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c1d887 commit 2dfa2c8Copy full SHA for 2dfa2c8
src/containers/blocks.jsx
@@ -738,15 +738,11 @@ class Blocks extends React.Component {
738
}
739
handleFieldBoxChange (args) {
740
// update checkbox states with menu-dependent blocks
741
- const editingTarget = this.props.vm.editingTarget;
742
- if (!editingTarget || args.element !== 'field') return;
+ if (args.element !== 'field') return;
743
744
const flyout = this.workspace.getFlyout();
745
if (!flyout) return;
746
747
- let block = editingTarget.blocks._blocks[args.id];
748
- if (typeof block === 'undefined') return;
749
-
750
// check if monitoring
751
const monitorState = this.props.vm.runtime.getMonitorState();
752
const shouldCheck = (
0 commit comments