File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -745,13 +745,14 @@ class Blocks extends React.Component {
745745
746746 // check if monitoring
747747 const monitorState = this . props . vm . runtime . getMonitorState ( ) ;
748- const value = String ( args . value ) ;
748+ const id = args . blockId ;
749+ const value = String ( args . newValue ) ;
749750 const shouldCheck = (
750- monitorState . get ( `${ args . id } _${ value } ` ) !== undefined ||
751- monitorState . get ( `${ args . id } _${ value . toLowerCase ( ) } ` ) !== undefined
751+ monitorState . get ( `${ id } _${ value } ` ) !== undefined ||
752+ monitorState . get ( `${ id } _${ value . toLowerCase ( ) } ` ) !== undefined
752753 ) ;
753754
754- const checkbox = flyout . checkboxes_ [ args . id ] ;
755+ const checkbox = flyout . checkboxes_ [ id ] ;
755756 if ( checkbox ) {
756757 checkbox . clicked = shouldCheck ;
757758 if ( shouldCheck ) {
You can’t perform that action at this time.
0 commit comments