Skip to content

Commit

Permalink
Merge pull request #2879 from entrylabs/issue/8951
Browse files Browse the repository at this point in the history
updateValueBlock 이 존재할때만 실행
  • Loading branch information
kimorkim authored Nov 29, 2024
2 parents 92d7c1f + fb31d14 commit 99c8a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/commands/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ import isFunction from 'lodash/isFunction';
block = this.editor.board.findBlock(block);
block.doDestroyBelow(true);
if (block.isParamBlockType()) {
block.thread.updateValueBlock();
block.thread?.updateValueBlock?.();
}
},
state(block) {
Expand Down

0 comments on commit 99c8a0c

Please sign in to comment.